CVE-2024-27198: Authentication Bypass and Remote Code Execution in JetBrains TeamCity
- Vendor
- Jetbrains
CVE-2024-27198 is a critical authentication bypass vulnerability in the web component of JetBrains TeamCity On-Premises versions before 2023.11.4. Improper request handling in the jetbrains.buildServer.controllers.BaseController class allows an alternative routing path to reach protected endpoints without authentication. Crafted requests combine a nonexistent resource that produces a 404 response, a jsp query parameter identifying a protected endpoint, and a semicolon-delimited path parameter ending in a JSP suffix. Successful exploitation permits administrative actions, including creating administrator accounts or access tokens, and can lead to remote code execution. The vulnerability has a CVSS v3.1 score of 9.8 and is listed in CISA's Known Exploited Vulnerabilities catalog.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise the confidentiality, integrity, and availability of the TeamCity server. Attackers can obtain administrative control, execute commands in the TeamCity service account's security context, and control projects, builds, agents, and artifacts. This access creates opportunities for sensitive-data theft, build manipulation, downstream software supply chain compromise, and lateral movement. Observed exploitation has included unauthorized account creation and deployment of ransomware, cryptocurrency miners, and remote-access malware.
Mitigation
If you can’t patch tonight, do this now.
Restrict HTTP(S) access to TeamCity to trusted users and networks using network access controls, reducing exposure until the upgrade or official security patch is applied. Monitor for unexpected administrator accounts or tokens, suspicious request-routing parameters, unauthorized plugins or webshells, and command interpreters spawned by the TeamCity Java process. Investigate evidence of prior compromise; patching alone does not remove attacker-created accounts or persistence.
Remediation
Patch, then assume compromise.
Upgrade JetBrains TeamCity On-Premises to version 2023.11.4 or a later fixed release. JetBrains released the fix on March 4, 2024, through installation packages and updated Docker images. For installations that cannot be upgraded immediately, apply the official security-patch plugin addressing CVE-2024-27198 and CVE-2024-27199, selecting the variant appropriate for TeamCity 2018.2 and later or TeamCity 2018.1 and earlier. TeamCity Cloud instances were patched automatically.
Exploits
14 exploits validated by Mallory's analysis. Hidden: 6 rejected by Mallory's analysis as not a working exploit; 3 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-27198 exploited in the wild?
- Yes. As of Nov 20, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 7, 2024.
- Is there a public exploit for CVE-2024-27198?
- Yes. Mallory tracks 14 public exploits or proofs of concept for CVE-2024-27198, the earliest disclosed Mar 4, 2024.
- Is there a patch for CVE-2024-27198?
- Upgrade JetBrains TeamCity On-Premises to version 2023.11.4 or a later fixed release. JetBrains released the fix on March 4, 2024, through installation packages and updated Docker images.
- What products are affected by CVE-2024-27198?
- Jetbrains Teamcity.
- How severe is CVE-2024-27198?
- CVE-2024-27198 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 81.9% (100th percentile) as of Nov 20, 2026.
Recent activity
62 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.