CVE-2026-55242: ERPNext: Server-Side Template Injection (SSTI) in Batch autonaming via Stock Settings.naming_series_prefix

Published Jul 15, 2026
·
Updated

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.

Affected Software

3 affected components
ERPNext ERPNext>15.111.0<15.111.0
ERPNext ERPNext>16.22.0<16.22.0
ERPNext ERPNext<15.111.0, <16.22.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ERPNext to a version that resolves this vulnerability.

    Fixed in 15.111.0
  2. Upgrade

    Upgrade ERPNext to a version that resolves this vulnerability.

    Fixed in 16.22.0

Event History

Jul 15, 2026
CVE Published
via MITRE·03:38 PM
Data Sourced
via MITRE·03:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-55242?

The severity of CVE-2026-55242 is rated high with a score of 8.8.

2

How do I fix CVE-2026-55242?

To fix CVE-2026-55242, upgrade to ERPNext version 15.111.0 or 16.22.0 or higher.

3

What type of vulnerability is CVE-2026-55242?

CVE-2026-55242 is classified as a Server-Side Template Injection (SSTI) vulnerability.

4

Who can exploit CVE-2026-55242?

CVE-2026-55242 can be exploited by authenticated users with a standard operational role.

5

What data exposure risk does CVE-2026-55242 pose?

CVE-2026-55242 allows unauthorized disclosure of data outside the user's normal access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203