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.

Project Subscriptions

Vendors Products
Softwaremill Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-gpcc-36pq-8qxr Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 20 Nov 2026 07:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 19 Nov 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Softwaremill
Softwaremill tapir
Vendors & Products Softwaremill
Softwaremill tapir

Wed, 18 Nov 2026 20:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)
Weaknesses CWE-116
CWE-94
CWE-95
References
Metrics cvssV4_0

{'score': 8.4, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-19T14:57:21.515Z

Reserved: 2026-08-18T21:17:32.201Z

Link: CVE-2026-76090

cve-icon Vulnrichment

Updated: 2026-11-19T14:57:12.783Z

cve-icon NVD

Status : Received

Published: 2026-11-18T20:19:12.943

Modified: 2026-11-19T15:17:42.290

Link: CVE-2026-76090

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-20T12:45:02Z

Weaknesses