CVE-2026-54666: swagger-typescript-api vulnerable to code injection via unescaped OpenAPI path strings in generated method bodies
acacode · swagger-typescript-api
Affected: acacode swagger-typescript-api · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 30% of scored CVEs
DescriptionCVE.org
swagger-typescript-api generates API clients for Fetch or Axios from an OpenAPI Specification. Prior to 13.12.2, src/schema-routes/schema-routes.ts passes OpenAPI path keys through parseRouteName to templates/default/procedure-call.ejs and templates/modular/procedure-call.ejs without escaping JavaScript template literal interpolation, allowing an attacker-controlled path containing ${...} to execute when the generated method is called. This issue is fixed in version 13.12.2.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- acacode · swagger-typescript-api< 13.12.2
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Improper Neutralization of Special Elements Used in a Template Engine · Command and Code Injection
- Vendor
- acacode
- Published
- July 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-54666 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-1336cwe.mitre.org
- github.com/acacode/swagger-typescript-api/security/advisories/GHgithub.com
- github.com/acacode/swagger-typescript-api/pull/1779github.com
- github.com/acacode/swagger-typescript-api/commit/306d59acb8ffbb0github.com
- github.com/acacode/swagger-typescript-api/releases/tag/v13.12.2github.com