CVE-2023-42793

CRITICAL KEV RANSOMWARE NUCLEI

JetBrains TeamCity < 2023.05.4 - Unauthenticated Remote Code Execution

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2023-42793 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added October 4, 2023, with confirmed use in ransomware campaigns. EIP tracks 19 public exploits from researchers including ByteHunter, H454NSec, B4l3rI0n, including a Metasploit module exploits/multi/http/jetbrains_teamcity_rce_cve_2023_42793. A Nuclei detection template is also available.

AI-analyzed exploit summary This exploit leverages CVE-2023-42793 to create an admin account in JetBrains TeamCity by abusing token generation and user creation endpoints. It automates the process of retrieving or deleting an existing token and then creating a new admin user with SYSTEM_ADMIN privileges.

Description

In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible

Exploits (19)

exploitdb WORKING POC
by ByteHunter · pythonremotejava
https://www.exploit-db.com/exploits/51884

This exploit leverages CVE-2023-42793 to create an admin account in JetBrains TeamCity by abusing token generation and user creation endpoints. It automates the process of retrieving or deleting an existing token and then creating a new admin user with SYSTEM_ADMIN privileges.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity versions before 2023.05.4
No auth needed
Prerequisites: Network access to the TeamCity server · Target server running a vulnerable version of TeamCity
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 45 stars
by H454NSec · remote
https://github.com/H454NSec/CVE-2023-42793

This repository contains a functional Python exploit for CVE-2023-42793, which targets JetBrains TeamCity. The exploit creates a new administrative user by manipulating user tokens via REST API calls.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity
No auth needed
Prerequisites: Access to the TeamCity REST API endpoint
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 10 stars
by B4l3rI0n · remote
https://github.com/B4l3rI0n/CVE-2023-42793

This repository contains functional exploit code for CVE-2023-42793, which allows unauthenticated admin account creation in TeamCity, leading to RCE. The exploit consists of two Python scripts: one for creating an admin account and another for executing commands via the TeamCity API.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions prior to 2023.05.4)
No auth needed
Prerequisites: Network access to TeamCity server · Python 3.x with requests library
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 8 stars
by Zenmovie · remote
https://github.com/Zenmovie/CVE-2023-42793

The repository contains functional exploit scripts for CVE-2023-42793, demonstrating authentication bypass and remote code execution (RCE) in JetBrains TeamCity. The scripts leverage token generation and API endpoints to create an admin user and execute arbitrary commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity
No auth needed
Prerequisites: Network access to the target TeamCity instance · TeamCity instance with vulnerable endpoints exposed
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 2 stars
by hotplugin0x01 · remote
https://github.com/hotplugin0x01/CVE-2023-42793

This repository contains a functional exploit for CVE-2023-42793, an authentication bypass vulnerability in JetBrains TeamCity leading to RCE. The exploit leverages token manipulation and file editing to enable debug processes, then executes a reverse shell via crafted API requests.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity before 2023.05.4
No auth needed
Prerequisites: Network access to the target TeamCity instance · Listener setup for reverse shell
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by syaifulandy · remote
https://github.com/syaifulandy/Nuclei-Template-CVE-2023-42793.yaml

This Nuclei template exploits CVE-2023-42793, an authentication bypass leading to RCE in JetBrains TeamCity. It chains token manipulation, file modification, and process execution to achieve remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity < 2023.05.4
No auth needed
Prerequisites: Network access to TeamCity server · TeamCity version < 2023.05.4
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by SwiftSecur · remote
https://github.com/SwiftSecur/teamcity-exploit-cve-2023-42793

This repository contains functional exploit scripts for CVE-2023-42793, a JetBrains TeamCity authentication bypass and RCE vulnerability. The scripts automate the exploitation process by enabling debug mode, generating a bearer token, and executing arbitrary commands via the vulnerable endpoint.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions affected by CVE-2023-42793)
No auth needed
Prerequisites: Network access to the TeamCity server · Vulnerable TeamCity instance (CVE-2023-42793)
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by HusenjanDev · remote
https://github.com/HusenjanDev/CVE-2023-42793

This repository contains a functional exploit for CVE-2023-42793, which targets TeamCity servers. The exploit enables debug mode and sends a reverse shell payload via a crafted URL, achieving remote code execution (RCE).

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity
Auth required
Prerequisites: Valid TeamCity authentication token · Network access to the TeamCity server · Listener setup for reverse shell
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by junnythemarksman · remote
https://github.com/junnythemarksman/CVE-2023-42793

This repository contains a functional exploit for CVE-2023-42793, which allows an attacker to create a new administrative user in JetBrains TeamCity. The exploit leverages a token deletion and subsequent user creation via API calls.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity
No auth needed
Prerequisites: Network access to the TeamCity server · TeamCity server with vulnerable version
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by DDestinys · remote
https://github.com/DDestinys/CVE-2023-42793

This repository contains a functional exploit for CVE-2023-42793, an authentication bypass vulnerability in JetBrains TeamCity. The script automates the process of creating a token, generating an admin user, and verifying successful login.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions affected by CVE-2023-42793)
No auth needed
Prerequisites: Network access to the TeamCity server · TeamCity server vulnerable to CVE-2023-42793
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC
by cxdxnt · remote
https://github.com/cxdxnt/CVE-2023-42793

This repository contains functional exploit code for CVE-2023-42793, demonstrating remote code execution (RCE) and user creation with administrator privileges in TeamCity. The exploit leverages token manipulation and API endpoints to achieve RCE and privilege escalation.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (version not explicitly specified)
No auth needed
Prerequisites: Access to TeamCity REST API endpoints · Network connectivity to the target
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC
by syorik · remote
https://github.com/syorik/CVE-2023-42793

This repository contains a functional exploit for CVE-2023-42793, targeting JetBrains TeamCity. The exploit authenticates via RPC token, enables debug mode, and executes arbitrary commands, demonstrating remote code execution (RCE).

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions affected by CVE-2023-42793)
Auth required
Prerequisites: Network access to TeamCity server · Valid user account (default 'id:1' used in PoC)
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by jakehomb · remote
https://github.com/jakehomb/cve-2023-42793

This Go-based exploit demonstrates an authentication bypass vulnerability in JetBrains TeamCity (CVE-2023-42793) by retrieving a token from an admin user and creating a new admin user. It leverages improper access control to escalate privileges.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions prior to 2023.05.4)
No auth needed
Prerequisites: Network access to the TeamCity server · Admin user ID (default: 1)
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER
by becrevex · remote
https://github.com/becrevex/CVE-2023-42793

The repository provides an Nmap NSE script to detect CVE-2023-42793, an authentication bypass vulnerability in JetBrains TeamCity. The script checks for the vulnerability by attempting to create an admin user via the exposed endpoint.

Classification
Scanner 80%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity (versions prior to 2023.05.4)
No auth needed
Prerequisites: Network access to TeamCity server on port 8111 · Nmap with NSE support
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by FlojBoj · remote
https://github.com/FlojBoj/CVE-2023-42793

The repository contains two functional exploit scripts for CVE-2023-42793, a TeamCity vulnerability. The first script (`exploit.py`) creates an admin account, while the second (`rce.py`) achieves remote code execution by enabling debug processes and executing arbitrary commands.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity
No auth needed
Prerequisites: Network access to the TeamCity server · TeamCity server running a vulnerable version
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by StanleyJobsonAU · remote
https://github.com/StanleyJobsonAU/GhostTown

This PoC exploits CVE-2023-42793 in TeamCity by generating an admin token, modifying internal configurations to enable debug processes, and executing a reverse shell via a crafted request to the debug endpoint.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions affected by CVE-2023-42793)
No auth needed
Prerequisites: Network access to TeamCity server · Python3 on the attacker's machine · Listener set up for reverse shell
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by johnossawy · poc
https://github.com/johnossawy/CVE-2023-42793_POC

This script automates the exploitation of CVE-2023-42793 by deleting a user token, creating a new token, and then creating a new user with administrative privileges in TeamCity. It demonstrates an authentication bypass vulnerability.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions affected by CVE-2023-42793)
No auth needed
Prerequisites: Network access to the TeamCity server · Python 3 environment with required libraries
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC
by whoamins · poc
https://github.com/whoamins/CVE-2023-42793

This PoC exploits CVE-2023-42793 in JetBrains TeamCity by creating a new admin user via an authentication bypass. It retrieves an admin session token, deletes it if it exists, and then creates a new admin user with SYSTEM_ADMIN privileges.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity (versions affected by CVE-2023-42793)
No auth needed
Prerequisites: Network access to the TeamCity server · TeamCity server exposed to the internet or accessible via internal network
devstral-2 · analyzed Feb 18, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by sfewer-r7 · rubypocwin
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/jetbrains_teamcity_rce_cve_2023_42793.rb

This Metasploit module exploits CVE-2023-42793, an authentication bypass vulnerability in JetBrains TeamCity, to achieve unauthenticated remote code execution by modifying internal properties and executing arbitrary commands.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity < 2023.05.4
No auth needed
Prerequisites: Network access to TeamCity server on port 8111 · TeamCity version < 2023.05.4
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

JetBrains TeamCity < 2023.05.4 - Remote Code Execution
CRITICALVERIFIEDby iamnoooob,rootxharsh,pdresearch
Shodan: title:TeamCity || http.title:teamcity || http.component:"teamcity"
FOFA: title=TeamCity || title=teamcity

Scores

CVSS v3 9.8
EPSS 0.9998
EPSS Percentile 100.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Details

CISA KEV 2023-10-04
VulnCheck KEV 2023-10-01
InTheWild.io 2023-10-04
ENISA EUVD EUVD-2023-47222
Ransomware Use Confirmed
CWE
CWE-306 CWE-288
Status published
Products (1)
jetbrains/teamcity < 2023.05.4
Published Sep 19, 2023
KEV Added Oct 04, 2023
Tracked Since Feb 18, 2026