Skip to main content

SpecForge EUVDEUVD-2026-136825

| CVE-2026-137416 LOW
Path Traversal (CWE-22)
2026-11-26 VulDB
0.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft checkpoint index with traversal/absolute shard paths
  2. Exploit
    Victim loads checkpoint locally for training/export
  3. Execution
    Loader resolves shard outside checkpoint directory
  4. Impact
    Unintended tensor files read into exported draft

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an attacker-influenced model checkpoint: specifically a checkpoint index (weight_map) whose shard values are absolute paths or contain '..' traversal that escapes the checkpoint directory, which the patched _check_shard_name/_inside logic now rejects. The victim must load that attacker-supplied checkpoint locally (AV:L, UI:P in the CVSS 4.0 vector), and PR:L indicates some local privilege/account is required - it is not remotely or anonymously exploitable. Limiting factors: no network vector, mandatory user interaction (an operator must choose to load the malicious checkpoint), authenticated local access, and only Low-rated confidentiality/integrity/availability impact, which together make realistic risk minor despite the straightforward path-traversal mechanism. A legitimate Hugging Face snapshot layout (snapshots/blobs symlinks) is explicitly still permitted by the fix, so the condition is a checkpoint that resolves shards outside the checkpoint directory or its cache repository.

Impact

All signals point to a genuinely low-priority issue. The CVSS 4.0 vector is AV:L/AC:L/AT:N/PR:L/UI:P with only Low impact on confidentiality, integrity and availability (VC:L/VI:L/VA:L) and no subsequent-system impact, yielding a base score of 0.9. Exploitation is strictly local (AV:L) and depends on user interaction (UI:P) and some privilege (PR:L), so this is not remotely reachable. EPSS is not provided in the input, so no probabilistic exploitation estimate is available. KEV status is not listed (no CISA active-exploitation signal), and the vuln.today Decision label is 'monitor', the lowest urgency tier - consistent with the SSVC/decision framing (exploit maturity E:P / proof-of-concept, local-only, low technical impact). The one slightly elevated signal is a public PoC reference, but the input marks it as 'reference only, not verified as working exploit code', so it should not be treated as weaponized. Net: a real but minor hardening fix, not an operational emergency. Note one data conflict to verify: the NVD/description locates the flaw in Eagle3DraftModel.load_embedding of specforge/modeling/draft/base.py, but the referenced patch (PR #1054, commit d8a0d78e) actually adds weight_map/shard-path validation in specforge/modeling/target/checkpoint.py and changes symlink-to-hardlink behavior in checkpoint/formats/native/writer.py - the named function and the fixed code do not match, so the exact vulnerable code path should be confirmed with the vendor.

Exploit ScenarioDerived

An attacker supplies a crafted model checkpoint whose index (weight_map) names shard files with absolute paths or '..' traversal sequences; when an operator loads that checkpoint locally for draft-model training or export, SpecForge resolves and reads tensor files outside the intended checkpoint directory. A public PoC reference exists but is not verified as working exploit code, and exploitation requires the victim to load the attacker-supplied checkpoint locally (AV:L, UI:P), keeping real-world risk low.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Path traversal in sgl-project SpecForge 0.2.0 allows a crafted checkpoint index to steer the draft-embedding loader at shard paths outside the checkpoint directory, so loading an attacker-supplied checkpoint can pull unintended files into the exported draft or expose their contents with only low confidentiality, integrity and availability impact. The attack is local by construction: the operator must deliberately load the malicious checkpoint (user interaction required) and needs a local account, so it is not remotely or anonymously reachable. The vendor addressed it in commit d8a0d78e via pull request #1054; a public PoC reference exists (issue #1041) but it is not verified as working exploit code, there is no CISA KEV listing, and the issue is rated for monitoring rather than urgent action.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the changes from pull request https://github.com/sgl-project/SpecForge/pull/1054, whose merge commit is d8a0d78e071199563ef19d9171052096dec89f71, or rebuild from a SpecForge revision that contains it. That change makes the checkpoint reader reject weight_map shard values that are absolute or that traverse out of the checkpoint directory or its Hugging Face cache repository, and replaces symlinking of unchanged native target shards with hard links, erroring out across filesystems unless --copy-target is passed (trade-off: copying rather than hard-linking costs additional disk space and export time). Where patching must be deferred, restrict loading of draft checkpoints to models from trusted sources and inspect model.safetensors.index.json (or the equivalent index) for weight_map values that are absolute paths or contain '..' before running export or training - this is a manual review step and misses obfuscated cases; do not blanket-disable symlink support, since legitimate Hugging Face snapshot layouts depend on it and the fix deliberately keeps them working. As an additional containment measure, run checkpoint loading under an account without read access to sensitive filesystem locations, accepting reduced convenience in exchange for limiting what a traversed path could reach.

Affected VersionsENISA

SpecForge 0.2.0

Affected Packages

euvd specforge no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-22 (improper limitation of a pathname to a restricted directory) in a Python machine-learning training/export toolchain. SpecForge reads sharded model checkpoints described by a JSON index (a 'weight_map') that maps tensor names to shard file names; prior to the fix those values were trusted verbatim, so an index containing an absolute path or a '..' sequence could make the loader open a tensor file the caller never pointed at, and the exported draft would then carry those weights outward. The vendor fix adds _check_shard_name/_inside helpers in specforge/modeling/target/checkpoint.py that normalize and realpath-resolve each weight_map value, compare it with the checkpoint directory using os.path.commonpath plus os.path.normcase (so Windows case-folding and cross-drive ValueError cases are handled), and reject anything that escapes. A standard Hugging Face hub cache layout is explicitly preserved: a snapshot directory whose shard symlinks resolve into the sibling blobs/ directory is accepted as long as the target stays inside the models--<org>--<name> repository root, detected by _hub_cache_repo_root. The same pull request hardens the native export writer, replacing symlink creation for unchanged target shards with os.link hard links and raising a clear error (recommending --copy-target) when the target and export directory sit on different filesystems (EXDEV), which removes a symlink indirection from the export path. Note that the CVE record attributes the weakness to Eagle3DraftModel.load_embedding in specforge/modeling/draft/base.py (the 'Draft Embedding Loader' component), while the published fix modifies the checkpoint index reader; the available sources do not spell out the exact call path connecting the two, and the trigger details beyond malformed weight_map values are not described.

Know when Specforge gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 0.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.8 MEDIUM

Local-only, config/checkpoint-controlled flaw requiring an operator to load an attacker-supplied checkpoint, so AV:L/PR:L/UI:R; traversal yields limited read/write effect, hence C:L/I:L/A:L and S:U.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 26, 2026 - 18:22 NVD
2.4 (LOW) 0.9 (LOW)
CVE Published
Nov 26, 2026 - 18:00 cve.org
LOW 0.9

DescriptionCVE.org

A weakness has been identified in sgl-project SpecForge 0.2.0. This impacts the function Eagle3DraftModel.load_embedding of the file specforge/modeling/draft/base.py of the component Draft Embedding Loader. Executing a manipulation can lead to path traversal. The attack can only be executed locally. The exploit has been made available to the public and could be used for attacks. This patch is called d8a0d78e071199563ef19d9171052096dec89f71. It is advisable to implement a patch to correct this issue.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche ML speculative-decoding training framework, limited production footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +4
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy