CVE-2026-76090 — softwaremill tapir
Research article
Tapir Code Injection Vulnerability in Scala HTTP Library
| CVE | CVE-2026-76090 |
|---|---|
| Vendor and product | softwaremill tapir |
| Published | November 18, 2026 22:45 UTC |
| Research cut-off | November 18, 2026 22:21 UTC |
| Updated | November 19, 2026 20:50 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-18); CISA KEV catalog |
Update — November 19, 2026
- GitHub scored it CVSS 4.0 8.4 (High): CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N. (GitHub advisory)
- A fixed version is now listed: com.softwaremill.sttp.tapir:tapir-openapi-codegen-core (Maven) 1.13.27 (see the versions table below). (GitHub advisory)
Executive summary
The Tapir library, a Scala tool for HTTP API development, is vulnerable to code injection due to insufficient validation of untrusted OpenAPI documents. CVSS 4.0 base score 8.4, HIGH, scored by security-advisories@github.com [1]. The vulnerability affects versions prior to 1.13.27 and is not listed in CISA's Known Exploited Vulnerabilities Catalog [2]. Immediate mitigation involves updating to the fixed version 1.13.27.
Key points
- The Tapir library is vulnerable to code injection due to insufficient validation of untrusted OpenAPI documents [1].
- CVSS 4.0 base score 8.4, HIGH, scored by security-advisories@github.com [1].
- The vulnerability affects versions prior to 1.13.27 and is not listed in CISA's Known Exploited Vulnerabilities Catalog [2].
- Immediate mitigation involves updating to the fixed version 1.13.27 [1].
- The issue is tied to code generation and build-time operations, and it does not provide a direct way to exploit a running Tapir server [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-76090 | softwaremill | tapir | CWE-94, CWE-95, CWE-116 | 8.4 HIGH | 2026-11-18T20:19:12 | 2026-11-18T20:19:12 | Received |
Technical background
The sources only mention the product as a Scala library designed to describe HTTP APIs and provide ways to expose, consume, and document them through open standards [1].
Vulnerability description
The flaw involves tapir-openapi-codegen-core generating Scala source from untrusted OpenAPI documents without proper validation or escaping. Carefully constructed names or values can escape from generated identifier or string-literal contexts, enabling the insertion of arbitrary Scala code that runs when the generated code is compiled or when endpoints are built [1].
Root cause analysis
The sources identify the weakness as CWE-94 (Improper Control of Generation of Code ('Code Injection')), CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')), and CWE-116 (Improper Encoding or Escaping of Output) [1].
Technical mechanics
The sources do not describe the technical mechanics of how the flaw is exploited beyond the CVSS vector and the general description provided [1].
Attack surface and exploitation prerequisites
According to the CVSS vector, the attack requires local access (AV:L), no privileges (PR:N), and active user interaction (UI:A) [1]. This flaw relates to code generation and processes that occur during the build phase, and it does not allow attackers to exploit a running Tapir server directly [1].
Exploitation scenarios and attack lifecycle
The sources do not describe any specific exploitation scenarios or attack lifecycle beyond the general description of the vulnerability [1].
Impact analysis
The impact includes high confidentiality, integrity, and availability impacts (VC:H, VI:H, VA:H) according to the CVSS vector. The problem stems from code generation and activities that take place during the build process, and it does not enable direct exploitation of an active Tapir server [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| < 1.13.27 | 1.13.27 |
The reviewed sources do not mention a fixed version for any product other than tapir [1].
Exploitation and threat intelligence status
CVE-2026-76090 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-18 [2]. The reviewed sources do not report exploitation.
Indicators of compromise
The sources give no indicators of compromise.
Detection and exposure assessment
Check installed versions against the affected versions [1]. Other steps are general guidance.
Immediate mitigation
The sources do not give any specific mitigation steps beyond general guidance.
Permanent remediation
The reviewed sources list version 1.13.27 as the fixed version [1].
Workarounds and compensating controls
The sources do not give any workarounds or compensating controls. General guidance is provided.
Validation and verification
Confirm the installed version after updating and verify that the fix is applied.
Incident response
If exploitation is suspected, monitor the logs for unusual activity and isolate affected systems.
Security hardening and prevention
Implement strict input validation as general guidance to reduce the risk of similar issues; the sources do not address other dependencies.
Risk assessment
CVSS 4.0 base score 8.4, HIGH, scored by security-advisories@github.com [1]. CVE-2026-76090 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-18 [2].
Conclusion
The Tapir library is vulnerable to code injection due to insufficient validation of untrusted OpenAPI documents. The vulnerability is fixed in version 1.13.27. Defenders should update to the fixed version and implement strict input validation to prevent similar issues.
Remediation checklist
- Update tapir to version 1.13.27 [1].
- Confirm that tapir is updated to version 1.13.27 [1]; the sources do not name other dependent libraries to update.
- Implement strict input validation for all OpenAPI documents used with tapir.
- Monitor logs for unusual activity and isolate affected systems if exploitation is suspected.
Evidence gaps
- The reviewed sources do not describe the technical mechanics of how the flaw is exploited beyond the CVSS vector and the description provided.
- The reviewed sources do not describe any specific exploitation scenarios or attack lifecycle beyond the general description of the vulnerability.
- The reviewed sources do not give any specific mitigation steps beyond general guidance.
- The reviewed sources do not give any workarounds or compensating controls.
- The reviewed sources do not mention a fixed version for any product other than tapir.
References
- CVE-2026-76090 record. NIST National Vulnerability Database (NVD), 2026-11-18. https://nvd.nist.gov/vuln/detail/CVE-2026-76090. Accessed 2026-11-18.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-18. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-18.
Summary
Tapir is a Scala library for describing HTTP APIs and exposing, consuming, and documenting them using open standards. Prior to 1.13.27, tapir-openapi-codegen-core generates Scala source from untrusted OpenAPI documents by interpolating object property names, query, header, and path parameter names, and operation tags without context-appropriate validation or escaping. Crafted names or values can break out of generated identifier or string-literal contexts and inject arbitrary Scala that executes when generated code is compiled or endpoints are assembled. This is a code-generation and build-time issue and does not make a running tapir server directly exploitable. This issue is fixed in version 1.13.27.
Severity breakdown
High · 8.4
An attacker without an account can exploit this with local access if a user is tricked into an action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must deliberately do something
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
- CWE-116: Improper Encoding or Escaping of Output
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| com.softwaremill.sttp.tapir:tapir-openapi-codegen-core (Maven) | < 1.13.27 | 1.13.27 |
| softwaremill tapir | < 1.13.27 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e…
- github.com/softwaremill/tapir/pull/5395
- github.com/softwaremill/tapir/releases/tag/v1.13.27
Other references
Affected
- softwaremill tapir
Frequently asked questions
What is CVE-2026-76090?
The Tapir library, a Scala tool for HTTP API development, is vulnerable to code injection due to insufficient validation of untrusted OpenAPI documents. CVSS 4.0 base score 8.4, HIGH, scored by security-advisories@github.com. The vulnerability affects versions prior to 1.13.27 and is not listed in CISA's Known Exploited Vulnerabilities Catalog. Immediate mitigation involves updating to the fixed version 1.13.27. Weakness type: Improper Control of Generation of Code ('Code Injection') (CWE-94).
How severe is CVE-2026-76090?
CVE-2026-76090 has a CVSS 4.0 base score of 8.4 (high), from the CNA (github.com). An attacker without an account can exploit this with local access if a user is tricked into an action.
Is CVE-2026-76090 being exploited?
Not as far as is known: CVE-2026-76090 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-76090?
com.softwaremill.sttp.tapir:tapir-openapi-codegen-core (Maven) < 1.13.27 (fixed in 1.13.27); softwaremill tapir < 1.13.27.
How do I fix CVE-2026-76090?
Update tapir to version 1.13.27. Confirm that tapir is updated to version 1.13.27; the sources do not name other dependent libraries to update. Implement strict input validation for all OpenAPI documents used with tapir.
Timeline & sources
References
Related vulnerabilities & news
- Okta Swift SDK Path Traversal Vulnerability (CVE-2026-130234)
- CVE-2026-104060: SQL injection in Worklenz reporting endpoints before 3.3.0 (CVSS 7.1)
- Heym Before 0.0.154 Cross-Site Request Forgery Vulnerability
- CVE-2026-136995 — wpswings Upsell Funnel Builder for WooCommerce – Create Upsells, Cross-Sells, Order Bumps, Frequently Bought, and Popups.
- CVE-2026-119071 — boldgrid W3 Total Cache