Description
Scriban before 7.0.0 caches TypedObjectAccessor by Type only without considering MemberFilter changes, allowing reused TemplateContext instances to expose members that should be hidden. Attackers can access filtered properties and fields by reusing a TemplateContext after tightening its MemberFilter, bypassing sandbox policies across requests or tenants.
Published: 2026-08-16
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Scriban before version 7.0.0 creates a cache of typed object accessors that is keyed only by the object's type, ignoring any changes to the member filter. This oversight allows an attacker to reuse a TemplateContext instance after the filter has been tightened, causing the cached accessor to expose properties and fields that were intended to be hidden. The result is that sandbox policies can be bypassed across requests or tenants, potentially giving an attacker the ability to read sensitive data or execute unauthorized code within the host application.

Affected Systems

Any deployment of the Scriban library with a version earlier than 7.0.0 is affected. The vulnerability applies to all products that embed Scriban across different frameworks or languages, as the reuse of TemplateContext instances is common in web applications and templating services.

Risk and Exploitability

With a CVSS score of 9.3 this vulnerability is considered critical. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the lack of a public mitigation does not reduce the risk. An attacker who can run or influence templating code can exploit the issue by creating or reusing a TemplateContext, tightening the member filter, and then accessing the previously cached types. Once sandbox boundaries are broken, the attacker could retrieve privileged information or execute arbitrary code, depending on the host application's capabilities.

Generated by OpenCVE AI on August 16, 2026 at 14:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Scriban library to version 7.0.0 or later, which removes the caching flaw.
  • Ensure that each request or tenant receives a fresh TemplateContext rather than reusing a shared instance.
  • Audit templating configurations to verify that no hidden members or privileged properties are exposed after the patch.

Generated by OpenCVE AI on August 16, 2026 at 14:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 16 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Description Scriban before 7.0.0 caches TypedObjectAccessor by Type only without considering MemberFilter changes, allowing reused TemplateContext instances to expose members that should be hidden. Attackers can access filtered properties and fields by reusing a TemplateContext after tightening its MemberFilter, bypassing sandbox policies across requests or tenants.
Title Scriban before 7.0.0 MemberFilter Bypass via TemplateContext Cache
Weaknesses CWE-693
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-16T13:14:14.417Z

Reserved: 2026-08-16T12:56:02.577Z

Link: CVE-2026-74790

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-16T14:16:57.050

Modified: 2026-08-16T14:16:57.050

Link: CVE-2026-74790

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T14:45:04Z

Weaknesses
  • CWE-693

    Protection Mechanism Failure