Advisory record · GHSA-h8wq-7xc4-p3qx

A vulnerability in the `filestring()` function of the `nltk.util` module in nltk version 3.9.2 allows arbitrary file read due to improper validation of input paths. The function directly opens file...

CVSS 8.6 HighEPSS 0.0059 · 48th percentile

Published by the GitHub Advisory Database at 9 Mar 2026, 20:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
nltkPyPI<=3.9.2No fixed version yet
Identifiers
GHSA-h8wq-7xc4-p3qx · CVE-2026-0846 · PYSEC-2026-97
Weakness (CWE)
CWE-22 · CWE-36
Published
9 Mar 2026
Updated
10 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The nltk package, versions up to and including 3.9.2, has an arbitrary file read flaw in the filestring() function of nltk.util, which opens files from user-supplied paths without validation. An attacker who can supply a path to that function, locally or through a web API or other interface that passes user input to it, can read sensitive files on the system. No fixed version is listed.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.6 High 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.0059, the 48th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 9 Mar 2026. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.