Skip to content

chore(deps): bump nltk from 3.9.4 to 3.10.0 in /envs/openapp_env - #1079

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/envs/openapp_env/nltk-3.10.0
Closed

chore(deps): bump nltk from 3.9.4 to 3.10.0 in /envs/openapp_env#1079
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/envs/openapp_env/nltk-3.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 13, 2026

Copy link
Copy Markdown
Contributor

Bumps nltk from 3.9.4 to 3.10.0.

Release notes

Sourced from nltk's releases.

v3.10.0

What's Changed

... (truncated)

Changelog

Sourced from nltk's changelog.

Version 3.10.3 2026-08-12

  • docs: wrap Chat-80 HOWTO output
  • Sandbox Stanford JAR execution to nltk_data directories
  • Harden path-traversal / file-I/O sandbox: close write-side symlink TOCTOU + shared-temp squat, lock the cluster with a living audit (CWE-22/59/377)
  • Extend algorithmic-complexity DoS hardening: repo-wide sweep + two-string distances (CWE-407/CWE-400)
  • Bound unbounded-work DoS in parsers and grammar transforms (CWE-407/674/835)
  • fix(security): sandbox MaltParser's Java execution (CVE-2026-12252, CVE-2026-12841)
  • fix(security): trust the system temp dir only when it is private (CWE-377/CWE-378)
  • fix(security): validate corpus-reader roots against the data sandbox (CWE-73)
  • fix(security): validate per-call java() options and replace the -XX:/-D allowlist with a minimal one (CWE-88)
  • Additional security hardening (CWE-407, CWE-426, CWE-427, CWE-502, CWE-59, CWE-776, CWE-918)

Thanks to the following contributors to 3.10.3: Mohammad Favas S, leduckhuong, Ziyu Lin, dougtrainer28-cmyk, Chaitanya Kadian, 0xRenSec, Arpit Jain, Jace, nguyencanhthuong, Liling Tan, medimedi, Eric Kafe.

Version 3.10.2 2026-08-05

  • Remove inisec.py and document PYTHONSAFEPATH instead
  • Skip draft step in release workflow
  • Fix symlink escape in FramenetCorpusReader (CWE-59)
  • Guard tempfile.gettempdir() when building pathsec allowed roots
  • add tests for transitive_closure

Thanks to the following contributors to 3.10.2: Litesh Ghute, Eric Kafe, Evan Kiefer, tarann26 and Rav Singh Chandan

Version 3.10.1 2026-07-29

  • Expand ~ in env-var paths
  • Validate types after WordNet app pickle deserialization
  • Fix uncontrolled search path in HunposTagger
  • Use exact thirds in masi_distance
  • Avoid retaining bllip import exceptions
  • Fix word_tokenize: pad opening single quote before multi-letter words.
  • Implement Tree.pformat_latex_forest.
  • Prevent module hijacking in inline imports.
  • Fix ReDoS in TweetTokenizer URL and email regexes.

Thanks to the following contributors to 3.10.1: Abhinav, Litesh Ghute, Eric Kafe, Eryk Kaźmierczak, Selim C., Muhtasim Munif Fahim, Triniti K., and Tom Y. Mitich.

Version 3.10.0 2026-06-11

  • Enforce the stricter nltk.pathsec security policy by default
  • Document the new security model and migration guidance
  • Harden resource loading against path traversal and SSRF/DNS-rebinding
  • Harden downloader path handling and block XML entity expansion
  • Close remaining corpus-reader security edge cases
  • Replace unsafe exec() usage in the utility CLI

... (truncated)

Commits
  • bd49f90 allow escaped brackets in Tree.fromstring (#3694)
  • 27b8ad6 don't crash chomsky_normal_form on terminals with siblings (#3693)
  • 52227d2 Use os.name for Windows path handling (#3605)
  • 06c0e2c Avoid RIBES zero division on empty inputs (#3604)
  • a167389 Treat missing unzip output as stale (#3607)
  • c94c967 Fix EOF empty document bug in IEER corpus reader (#3648)
  • 94a259c Enforce restrictive primitive type checking in pathsec wrappers (#3692)
  • 5ac475d fix(security): isolate Stanford Java options and clean temp files (#3683)
  • 986f26e ci(deps): bump the github-actions group with 3 updates (#3691)
  • f26b375 fix(security): prevent pickle RCE in TransitionParser model loading (CWE-502)...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note

Medium Risk
NLTK 3.10 enforces stricter default security around downloads and corpus I/O, which can change behavior in WebArena eval paths that rely on NLTK without touching app code.

Overview
Updates envs/openapp_env/uv.lock to resolve NLTK 3.9.4 → 3.10.0, pulled in by the WebArena-related packages (libwebarena / libvisualwebarena).

The lock refresh also records NLTK’s new dependency on defusedxml (XML hardening in 3.10) and includes incidental marker normalization for CUDA/NVIDIA and tifffile entries from the same uv resolve—no application source changes.

3.10 tightens default resource/downloader security (pathsec, traversal/SSRF mitigations, safer XML parsing). Worth a quick smoke pass on any flows that use NLTK corpora, nltk.download, or custom nltk: resource paths in the open-app env.

Reviewed by Cursor Bugbot for commit ceb130a. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [nltk](https://github.com/nltk/nltk) from 3.9.4 to 3.10.0.
- [Release notes](https://github.com/nltk/nltk/releases)
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](nltk/nltk@3.9.4...v3.10.0)

---
updated-dependencies:
- dependency-name: nltk
  dependency-version: 3.10.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added Dependencies python:uv Pull requests that update python:uv code labels Aug 13, 2026
@burtenshaw burtenshaw added environment size: small Small pull request labels Aug 13, 2026 — with Cursor
@bot-ci-comment

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alignment Review Report

Scope: this PR changes only envs/openapp_env/uv.lock (0 Python files) — a Dependabot transitive-dependency lock refresh bumping nltk 3.9.4 → 3.10.0 and adding one new transitive dep, defusedxml 0.7.1.

Automated Checks

  • Lint: PASS (for this PR). .claude/hooks/lint.sh exits non-zero, but every flagged file is a pre-existing envs/** formatting drift (opencode_env, pi_env, chat_env, coding_tools_env, …) — none are in this PR's diff, which contains no Python. uv.lock/TOML are not linted.
  • Debug code: CLEAN. .claude/hooks/check-debug.sh scans src/ only; this PR touches neither src/ nor any .py.

Open RFCs Context

000/001/002/003/005 In Review, 004 (Rubrics, no status header), 010 Draft. None govern dependency/packaging management → a lock bump touches no RFC surface.

Tier 1: Fixes Required

  • None. The lock is internally consistent and valid.

Tier 2: Alignment Discussion

Principle Conflicts: None identified. No Gymnasium API, reward, client-server, MCP/WebSocket, or credential surface is touched.

RFC Conflicts: None identified. No RFC covers packaging / dependency management / PyPI resolution.


Lock-hygiene verification

  • Transitive, not direct: nltk is pulled by libvisualwebarena + libwebarena (via browsergym); it is not pinned in pyproject.toml, so a lock-only change with no pyproject edit is correct.
  • Package-set delta: only defusedxml 0.7.1 added and nltk 3.9.4 → 3.10.0 changed; nothing removed (162 → 163 pkgs). No other package's wheels/sdists changed.
  • Hashes verified against PyPI (real + matching): nltk 3.10.0 wheel 54ff84d4…244bf, sdist 4fbac1d9…e8c1; defusedxml 0.7.1 wheel a352e7e4…8a61, sdist 1bb3032d…3e69. Neither yanked.
  • Constraints: nltk 3.10.0 requires-python >=3.10 ⊇ env >=3.11,<3.14 ✓; new runtime dep defusedxml present ✓.
  • Born clean: revision = 3 unchanged, zero HF-mirror refs at base and head → no index-flip and no revision-bump side effects this time.
  • CI validate-env-locks reproduced locally: uv sync --project envs/openapp_env --frozen --all-extras --all-groups --dry-run --no-install-project passes.

🔐 Security-positive

nltk 3.9.4 carries 4 distinct CVEs, all fixed_in: 3.10.0:

CVE Class Component
CVE-2026-12243 Path traversal (percent-encoded) nltk.data.load()/find()
CVE-2026-12074 Path traversal (pathsec bypass) FramenetCorpusReader.frame()
CVE-2026-12075 SSRF (DNS-rebinding) nltk.pathsec
CVE-2026-12061 ReDoS (quadratic backtracking) ReviewsCorpusReader

nltk 3.10.0 has no known advisories; the new defusedxml runtime dep is part of nltk's XML hardening.

Non-blocking notes (FYI)

  1. Incidental marker churn: the diff also normalizes environment markers on the CUDA/nvidia/tifffile transitive tree (e.g. dropping the sys_platform == 'linux' / != 'emscripten'/'win32' guards). This is a re-resolution artifact of Dependabot's uv version — no package artifacts changed, and the effective resolution on the linux x86_64/aarch64 deploy target is unchanged (the broadened markers would only matter on non-linux platforms this Docker env doesn't target).
  2. Lock is not build-consumed: envs/openapp_env/server/Dockerfile installs via pip install -e . (lines 79/91), not uv sync --frozen, so uv.lock governs dev/CI reproducibility only — the marker/lock changes have no effect on the deployed image.
  3. Dependabot config mismatch (recurring): this native dependabot/uv/envs/openapp_env/… PR modifies envs/** even though .github/dependabot.yml sets exclude-paths: ["envs/**"] on the uv updater (lines 8-9). The key is valid but the uv ecosystem isn't honoring it (platform limitation); the intended channel is the aggregated codex/dependabot-envs-* roll-ups. cc @burtenshaw — not a blocker.

Summary

  • 0 mechanical issues to fix
  • 0 principle conflicts, 0 RFC conflicts
  • 1 recurring process note (exclude-paths bypass, @burtenshaw)
  • Security-positive (4 CVEs fixed). Looks safe to merge from a review standpoint.
Open in Web View Automation 

Sent by Cursor Automation: Pre-review

Comment thread envs/openapp_env/uv.lock
[[package]]
name = "nltk"
version = "3.9.4"
version = "3.10.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security-positive bump. nltk 3.9.4 → 3.10.0 fixes 4 CVEs (all fixed_in: 3.10.0): CVE-2026-12243 & CVE-2026-12074 (path traversal in nltk.data.load/find and FramenetCorpusReader.frame), CVE-2026-12075 (DNS-rebinding SSRF in nltk.pathsec), CVE-2026-12061 (ReDoS in ReviewsCorpusReader). Wheel/sdist sha256 verified against PyPI and matching; not yanked. requires-python >=3.10 is satisfied by the env's >=3.11,<3.14.

Comment thread envs/openapp_env/uv.lock
]

[[package]]
name = "defusedxml"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New transitive dependency introduced by nltk 3.10.0 (its requires-dist now lists defusedxml), part of nltk's XML-parsing hardening. Pinned to the current stable 0.7.1; wheel/sdist sha256 verified against PyPI, no known advisories. Benign addition.

Comment thread envs/openapp_env/uv.lock
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "cuda-pathfinder", marker = "sys_platform != 'emscripten' and sys_platform != 'win32'" },
{ name = "cuda-pathfinder" },

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI (no action needed) — representative of incidental environment-marker normalization across the CUDA/nvidia/tifffile tree in this diff (here the sys_platform != 'emscripten' and != 'win32' guard was dropped). These are uv re-resolution artifacts, not package changes: no wheels/sdists changed, and the resolution on the linux x86_64/aarch64 deploy target is unchanged.

@burtenshaw

Copy link
Copy Markdown
Collaborator

Closed in favor of the env Dependabot aggregate PR #1015.

@burtenshaw burtenshaw closed this Sep 1, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/uv/envs/openapp_env/nltk-3.10.0 branch September 1, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies environment python:uv Pull requests that update python:uv code size: small Small pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant