Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Web

CVE-2026-76090 — softwaremill tapir

High · CVSS 8.4EPSS 0.2% First seen November 18, 2026
WebVulnerabilitiesLaw enforcementEndpoint security

Research article

Tapir Code Injection Vulnerability in Scala HTTP Library

CVECVE-2026-76090
Vendor and productsoftwaremill tapir
PublishedNovember 18, 2026 22:45 UTC
Research cut-offNovember 18, 2026 22:21 UTC
UpdatedNovember 19, 2026 20:50 UTC
Sources reviewed2: 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)

Updates come from the CVE's records (NVD, CISA, GitHub, FIRST) as they change, newest first. The article below is as it was published on November 18, 2026.

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 IDVendorProductCWECVSS 4.0PublishedLast ModifiedRecord Status
CVE-2026-76090softwaremilltapirCWE-94, CWE-95, CWE-1168.4 HIGH2026-11-18T20:19:122026-11-18T20:19:12Received

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 VersionFixed Version
< 1.13.271.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

  1. Update tapir to version 1.13.27 [1].
  2. Confirm that tapir is updated to version 1.13.27 [1]; the sources do not name other dependent libraries to update.
  3. Implement strict input validation for all OpenAPI documents used with tapir.
  4. 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

  1. 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. CVE identification, technical background, vulnerability description, root cause analysis, impact analysis, affected versions, and fixed version.
  2. 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. Exploitation and threat intelligence status.

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.4 CVSS 4.0 base score from the CNA (github.com)

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

Vector 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 4.0 8.4 from GitHub: 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

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

ProductAffected versionsFixed in
com.softwaremill.sttp.tapir:tapir-openapi-codegen-core (Maven)< 1.13.271.13.27
softwaremill tapir< 1.13.27—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

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