GHSA-343m-9fqq-97c7

Suggest an improvement
Source
https://github.com/advisories/GHSA-343m-9fqq-97c7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-343m-9fqq-97c7/GHSA-343m-9fqq-97c7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-343m-9fqq-97c7
Withdrawn
2026-09-02T14:47:35Z
Published
2026-08-22T15:31:03Z
Modified
2026-09-02T15:00:10Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 6.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: NLTK: Symlink-based arbitrary file read in IPIPANCorpusReader, bypasses nltk.pathsec entirely
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-3hhw-38pf-pxj6. This link is maintained to preserve external references.

Original Description

nltk versions before 3.10.2 contain a symlink-based arbitrary file read vulnerability in IPIPANCorpusReader methods that bypass nltk.pathsec validation entirely. Attackers can place a symlink in the corpus root directory and read arbitrary files accessible to the process by calling channels(), domains(), categories(), or fileids() methods with the symlink filename.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-02T14:47:35Z",
    "nvd_published_at": "2026-08-22T15:16:17Z",
    "severity": "MODERATE"
}
References

Affected packages

PyPI / nltk

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.10.0

Affected versions

3.*
3.10.0
3.10.1
3.10.2
3.10.3

Database specific

last_known_affected_version_range
"< 3.10.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-343m-9fqq-97c7/GHSA-343m-9fqq-97c7.json"