Authentication Bypass Leads to Remote Code Execution in JetBrains TeamCity Before 2023.05.4

Patch nowFull system takeover over the network, no login needed.
9.8CRITICAL

CVE-2023-42793

Key Information:

Vendor

Jetbrains

Status
CVE ID
CVE ID:
CVE-2023-42793
Vendor
CVE Published:
19 September 2023
Fixed in
Fixed in:
2023.05.4

Timeline

Exploit known 15 days after it was published

  • 🟑

    Public PoC available

  • πŸ“°

    First article discovered by Matrice Digitale

  • πŸ’°

    Used in Ransomware

  • πŸ‘Ύ

    Exploit known to exist

  • πŸ¦…

    CISA Reported

  • Vulnerability published

  • Vulnerability Reserved

Badges

πŸ’° RansomwareπŸ‘Ύ Exploit Exists🟑 Public PoC🟣 EPSS 99%πŸ¦… CISA ReportedπŸ“° News Worthy

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (7 proof-of-concepts)
  • Yes: Attacked in the wild (on CISA's KEV list)
  • Yes: Used by ransomware

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Update to a fixed version
TeamCity 0 to below 2023.05.4 is vulnerable
Install TeamCity 2023.05.4 or later
Read the vendor advisory β†—
2Follow CISA's required action

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

3Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach TeamCity. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

4Look for signs of compromise

It is being exploited in the wild, so check logs on exposed TeamCity systems for unusual requests or new processes from before you patched. The 7 public proof-of-concepts show what an attack looks like.

5Why it's rated "Patch now"
  • CISA lists it as a Known Exploited Vulnerability, so it is being attacked in the wild.
  • Ransomware groups use it.
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • EPSS gives it a 99.9% chance of exploitation in the next 30 days.
  • Its CVSS severity is critical (9.8).

What is CVE-2023-42793?

An authentication bypass vulnerability was discovered in JetBrains TeamCity versions before 2023.05.4, which could allow attackers to gain unauthorized access to the TeamCity server. This flaw could potentially enable remote code execution (RCE) by exploiting the security weaknesses present in the server's authentication mechanisms. Organizations using affected versions are urged to apply the necessary patches to mitigate the risk.

CISA has reported CVE-2023-42793

CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerous vulnerabilities and have identified CVE-2023-42793 as being exploited and is known by the CISA as enabling ransomware campaigns.

The CISA's recommendation is: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

News Articles

Patch Now: Critical TeamCity Bug Allows for Server Takeovers

Cyberattackers can exploit a vulnerability in JetBrain's continuous integration and delivery (CI/CD) server (APT target) to gain administrative control.

JetBrains warns of new TeamCity auth bypass vulnerability

JetBrains urged customers today to patch their TeamCity On-Premises servers against a critical authentication bypass vulnerability that can let attackers take over vulnerable instances with admin privileges.

favicon imageDark Reading

'Midnight Blizzard' Breached HPE Email Months Before Microsoft Hack

The Russian APT behind the SolarWinds attacks exfiltrated data from HPE email accounts last May.

References

Remote Code Execution in JetBrains TeamCity Affects Multiple Versions

CVE-2026-132891
JetbrainsTeamcity9.8CRITICAL

Remote Code Execution in JetBrains TeamCity

CVE-2026-63077
JetbrainsTeamcityπŸ˜„πŸ‘ΎπŸŸ£9.8CRITICAL

Privilege Escalation Vulnerability in JetBrains TeamCity

CVE-2025-54530
JetbrainsTeamcity7.5HIGH
View more Jetbrains vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

EPSS Score

99% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.