Scriban before 7.0.0 (affected versions <= 6.6.0) contains an uncontrolled memory allocation vulnerability in the string.pad_left and string.pad_right template functions, which perform no validation on the width parameter before delegating to .NET's String.PadLeft/PadRight. When an application exposes Scriban to untrusted template input, an attacker can supply an arbitrarily large width value (e.g., 500,000,000) to trigger ~1GB memory allocations in a single call, resulting in OutOfMemoryException and denial of service. The TemplateContext.LimitToString limit does not prevent this because it is only enforced after the string has been fully allocated.
CVE-2026-74788
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2026-08-16. a secondary CVSS source baseline 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(high)
- EG Risk
- 65(Attend)EG Risk 65/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 0%
- EPSS %ILE
- 20%
- KEV
- Not listed
Published
August 16, 2026
Last Modified
August 17, 2026
Advisory Details (2)
Auto-updated Aug 16, 2026Scriban before 7.0.0 Denial of Service via string.pad_left/pad_right | Advisories | VulnCheck
https://www.vulncheck.com/advisories/scriban-before-denial-of-service-via-string-pad-left-pad-rightUncontrolled Memory Allocation via string.pad_left/pad_right Allows Remote Denial of Service · Advisory · scriban/scriban · GitHub
https://github.com/scriban/scriban/security/advisories/GHSA-v66j-x4hw-fv9gVendor Advisories for CVE-2026-74788(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(2 across 1 ecosystem)
NuGet(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| Scriban | 0.1.0 ... 6.6.0 (123 versions) | 7.0.0 | — |
| Scriban.Signed | 0.10.0 ... 6.6.0 (111 versions) | 7.0.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 26× in last 7d / 26× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-21 09:14 UTCEG score recompute
- 2026-08-21 09:14 UTCGHSA enrichment
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-20 20:42 UTCGHSA enrichment
- 2026-08-20 08:10 UTCGHSA enrichment
- 2026-08-19 19:38 UTCEG score recompute
- 2026-08-19 19:38 UTCGHSA enrichment
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 07:05 UTCGHSA enrichment
- 2026-08-18 18:32 UTCEG score recompute
- 2026-08-18 18:32 UTCGHSA enrichment
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 06:00 UTCGHSA enrichment
- 2026-08-17 17:28 UTCEG score recompute
- 2026-08-17 17:28 UTCGHSA enrichment
- 2026-08-17 17:00 UTCEG score recompute
- 2026-08-17 17:00 UTCGHSA enrichment
- 2026-08-17 15:40 UTCEG score recompute
- 2026-08-17 15:40 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 03:08 UTCEG score recompute
- 2026-08-17 03:08 UTCGHSA enrichment
- 2026-08-16 14:36 UTCEG score recompute
- 2026-08-16 13:27 UTCEG score recompute
Show 1 moreShow fewer
- 2026-08-16 13:26 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-770
Frequently asked(5)
What is CVE-2026-74788?
When was CVE-2026-74788 disclosed?
Is CVE-2026-74788 actively exploited?
What is the CVSS score of CVE-2026-74788?
How do I remediate CVE-2026-74788?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-74788
Is Your Infrastructure Affected by CVE-2026-74788?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.