BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2019-3902 in Debian Linux and 2 more products

Medium 5.9 Fix available

A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.05.9
EPSS1.4%
EPSS percentile72th
FixAvailable

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 8.0
Mercurial Mercurial < 4.9
Redhat Enterprise Linux 7.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2019-3902
BreachSpider IDBS-2019-GLOBAL-193593-M
CVSS vectorCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2019-04-22
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

CWE-59: Improper Link Resolution Before File Access

Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22, CWE-59

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

Show all 8

CAPEC-132 Symlink Attack via CWE-59

CAPEC-17 Using Malicious Files via CWE-59

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2019. A medium severity vulnerability affects Debian systems (CVE-2019-3902). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository. CVSS vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.

Questions

What is CVE-2019-3902?

This vulnerability was disclosed in 2019. A medium severity vulnerability affects Debian systems (CVE-2019-3902). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2019-3902?

CVE-2019-3902 has CVSS 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 1.4%.

Is CVE-2019-3902 actively exploited?

No confirmed active exploitation of CVE-2019-3902 as of 2026-05-30.

How do I remediate CVE-2019-3902?

Priority: MONITOR. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902 PSIRT: [email protected]

What systems are affected by CVE-2019-3902?

CVE-2019-3902 affects Debian Debian Linux; Mercurial Mercurial; Redhat Enterprise Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.