Security Resilience

CVE-2025-29157

Command Injection in Smartbear Swagger Petstore 1.0.7

Published
25 September 2025
Modified
14 October 2025
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS Score 0.0053 44th percentile
Risk Priority 51 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-29157 is a medium-severity Command Injection (CWE-77) vulnerability in Smartbear Swagger Petstore. Its CVSS base score is 6.5 (Medium).

Operationally, ranked at the 44th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

An issue in petstore v.1.0.7 allows a remote attacker to execute arbitrary code via accessing a non-existent endpoint/cart, the server returns a 404-error page exposing sensitive information including the Servlet name (default) and server version

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-29155Same product: Smartbear Swagger Petstore
CVE-2025-29156Same product: Smartbear Swagger Petstore
CVE-2023-22889Same vendor: Smartbear
CVE-2023-22892Same vendor: Smartbear
CVE-2024-7565Same vendor: Smartbear
CVE-2023-22890Same vendor: Smartbear
CVE-2023-22891Same vendor: Smartbear
CVE-2024-22207Same vendor: Smartbear
CVE-2023-23952Shared CWE-77
CVE-2026-47827Shared CWE-77

Affected Assets

smartbear
swagger petstore
1.0.7

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation can discover command-construction flaws before deployment.

Input validation directly stops construction of commands from untrusted data containing special elements.

Secure engineering principles include proper neutralization and safe command construction practices.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development catches command-injection vulnerabilities before release.

prevents

Secure coding standards require proper escaping and parameterization of commands, directly eliminating CWE-77.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-77, a class-level weakness, and none of its children carries one either.

References