PatchSiren cyber security CVE debrief
CVE-2026-74788 scriban CVE debrief
The Scriban library before version 7.0.0 contains an uncontrolled memory allocation vulnerability in the string.pad_left and string.pad_right template functions. These functions perform no validation on the width parameter before delegating to .NET's String.PadLeft/PadRight methods. An attacker can exploit this vulnerability by supplying an arbitrarily large width value, potentially triggering OutOfMemoryException and denial of service. Affected applications should apply patches or restrict access to untrusted template input to prevent attackers from supplying malicious width values. The vulnerability affects Scriban versions <= 6.6.0 and is fixed in version 7.0.0. To verify, defenders should review the official CVE record, assess their exposure, and apply patches or mitigations as necessary. Additional verification steps include checking for excessively large width values in template functions and monitoring for potential denial-of-service attacks. The CVE record was published on 2026-08-16T14:16:56.787Z and has not been modified since then. The NVD entry is currently Deferred. Developers and administrators using Scriban versions <= 6.6.0 should be aware of this vulnerability and take necessary actions to mitigate potential risks. This includes applying patches, restricting access to untrusted template input, and monitoring for excessively large width values. Additionally, security teams and vulnerability management teams should review the official CVE record and assess their exposure to this vulnerability. Operators of affected platforms should prioritize patching and consider implementing compensating controls, such as memory allocation limits, to mitigate potential denial-of-service attacks. IT teams responsible for change management and incident response should also be aware of this vulnerability and prepare for potential impact. Security teams should track exceptions, retest remediated assets, and verify evidence of patching or mitigation. This vulnerability may impact organizations that rely on Scriban for template processing, especially those with high-risk exposure to denial-of-service attacks. Review of related logs and monitoring for suspicious is
- Vendor
- scriban
- Product
- Unknown
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-16
- Original CVE updated
- 2026-08-31
- Advisory published
- 2026-08-16
- Advisory updated
- 2026-08-31
Who should care
Developers and administrators using Scriban versions <= 6.6.0 should be aware of this vulnerability and take necessary actions to mitigate potential risks. This includes applying patches, restricting access to untrusted template input, and monitoring for excessively large width values. Additionally, security teams and vulnerability management teams should review the official CVE record and assess their exposure to this vulnerability. Operators of affected platforms should prioritize patching and consider implementing compensating controls, such as memory allocation limits, to mitigate potential denial-of-service attacks. IT teams responsible for change management and incident response should also be aware of this vulnerability and prepare for potential impact. Security teams should track exceptions, retest remediated assets, and verify evidence of patching or mitigation. This vulnerability may impact organizations that rely on Scriban for template processing, especially those with high-risk exposure to denial-of-service attacks. Review of related logs and monitoring for suspicious activity is recommended. Compensating controls may be necessary for organizations unable to immediately patch affected systems. Asset inventory and configuration management processes should be reviewed to identify and prioritize affected systems. Communication with stakeholders about potential risks and mitigation strategies is also crucial. The CVE record and vendor advisories should be consulted for further details and guidance on mitigation and remediation. Security teams should also consider implementing additional monitoring and detection measures to identify potential exploitation attempts. By taking proactive steps, organizations can reduce the risk associated with this vulnerability and protect their assets from potential exploitation. Patching or mitigating this vulnerability should be prioritized based on the organization's risk assessment and exposure to potential attacks. The Scriban library is commonly used in various applications, and its vulnerability may have a significant impact on organizations that rely on it for critical functions. Therefore, prompt action is needed
Technical summary
The Scriban library before version 7.0.0 contains an uncontrolled memory allocation vulnerability in the string.pad_left and string.pad_right template functions. These functions perform no validation on the width parameter before delegating to .NET's String.PadLeft/PadRight methods. An attacker can exploit this vulnerability by supplying an arbitrarily large width value, potentially triggering OutOfMemoryException and denial of service. Affected applications should apply patches or restrict access to untrusted template input to prevent attackers from supplying malicious width values.
Defensive priority
High-priority defensive actions are required to address this vulnerability, as it can lead to denial of service via uncontrolled memory allocation.
Recommended defensive actions
- Apply the vendor-provided patch to upgrade Scriban to version 7.0.0 or later.
- Restrict access to untrusted template input to prevent attackers from supplying malicious width values.
- Monitor for and limit excessively large width values in template functions.
- Consider implementing compensating controls, such as memory allocation limits, to mitigate potential denial-of-service attacks.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
Evidence notes
Evidence is based on official CVE Program and NVD records, as well as source references from [email protected]. The vulnerability affects Scriban versions <= 6.6.0 and is fixed in version 7.0.0. To verify, defenders should review the official CVE record, assess their exposure, and apply patches or mitigations as necessary. Additional verification steps include checking for excessively large width values in template functions and monitoring for potential denial-of-service attacks.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-74788 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-74788
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-74788 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-74788
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/scriban/scriban/security/advisories/GHSA-v66j-x4hw-fv9g
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/scriban-before-denial-of-service-via-string-pad-left-pad-right
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.