Medium severity · published Sep 25, 2025
CVE-2025-29157
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…
6.5
CVSS
0.5%
EPSS
No
On KEV
Description
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
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 45% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SP
Swagger Petstore · Smartbear
1.0.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-29157
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-29157
Exploit
https://gist.github.com/HouqiyuA/3c36f78e8de9f6a3cfb0959477c07443
Product
https://github.com/swagger-api/swagger-petstore
Product
https://petstore3.swagger.io/#/pet/updatePet
More from Swagger Petstore
6.5
CVE-2025-29155
An issue in petstore v.1.0.7 allows a remote attacker to execute arbitrary code via the DELETE endpoint
6.1
CVE-2025-29156
Cross Site Scripting vulnerability in petstore v.1.0.7 allows a remote attacker to execute arbitrary code via a crafted script to the /api/v3/pet
