Description
Scriban before 7.2.2 contains an access-modifier bypass vulnerability in TypedObjectAccessor that allows template code to write CLR object properties without setter-visibility checks. Attackers can modify properties with private, internal, or init-only setters, and perform mass assignment on public-setter properties, permanently altering live host objects after template rendering.
Published: 2026-08-16
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Scriban versions prior to 7.2.2 contain an access‑modifier bypass in TypedObjectAccessor that permits template code to write any CLR object property regardless of the property's accessibility. The vulnerability is rooted in CWE‑284, which represents an improper restriction of privileges. An attacker who can supply template input can overwrite private, internal, or init‑only properties, as well as mass‑assign properties with public setters, consequently changing the state of host objects after rendering. The impact is the permanent alteration of application data or configuration, potentially leading to privilege escalation, denial of service, or other malicious behaviors depending on how the host objects are used.

Affected Systems

Products using Scriban before version 7.2.2 are affected. All installations of the Scriban library with a version number less than 7.2.2, regardless of the environment or host language, are susceptible to this arbitrary property write flaw.

Risk and Exploitability

With a CVSS score of 9.3, the vulnerability is severe. Exploitation requires the ability to supply template code, which is often possible when user input is rendered directly by Scriban. No EPSS score is available, and the issue is not listed in CISA KEV, but the high severity suggests that exploitation is likely if attacker control is possible. The lack of restrictions on property visibility means that any templated input can modify state, making this attack straightforward for an adversary with template injection capabilities.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Scriban to version 7.2.2 or later; the fixed release removes the access‑modifier bypass in TypedObjectAccessor.
  • If an upgrade cannot be performed immediately, configure the templating environment to disallow typed object access, for example by setting the TypedObjectAccessor flag to false or by removing it from the template engine’s allowed features.
  • Deploy an additional runtime check that validates property visibility before writing to host objects, ensuring only public setters are writable; this mitigates the risk until a patched version is available.

Generated by OpenCVE AI on August 16, 2026 at 14:41 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.2.2 contains an access-modifier bypass vulnerability in TypedObjectAccessor that allows template code to write CLR object properties without setter-visibility checks. Attackers can modify properties with private, internal, or init-only setters, and perform mass assignment on public-setter properties, permanently altering live host objects after template rendering.
Title Scriban before 7.2.2 Arbitrary Property Write via TypedObjectAccessor
Weaknesses CWE-284
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

Reserved: 2026-08-10T19:10:18.101Z

Link: CVE-2026-73061

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-16T14:16:55.770

Modified: 2026-08-16T14:16:55.770

Link: CVE-2026-73061

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses