Skip to content

fix(security): joserfc 1.7.5 has GHSA-9pg5-8c7x-5hfx and fails the dependency audit #2786

Description

@dan-petty

Problem or Motivation

The dependency audit fails for every pull request and for main. uv audit (the audit row of devops ci, in the Static Analysis check) reports on 2026-10-30:

joserfc 1.7.5 has 1 known vulnerability: GHSA-9pg5-8c7x-5hfx (CVE-2026-119284): Compact JWS size guard allocates attacker-controlled segments before rejection.

The advisory is fixed in joserfc 1.7.6. PyPI has 1.7.7, uploaded on 2026-10-19. uv.lock pins 1.7.5. The package is not a direct dependency: uv tree --invert --package joserfc shows authlib 1.9.1, which fastmcp-slim 4.1.2 (client extra) and pydantic-ai-slim 2.59.0 (mcp extra) pull in.

PRs 2781 and 2784 failed Static Analysis only for this reason.

Proposed Solution & Architectural Design

  • Raise the locked version with uv lock --upgrade-package joserfc, to 1.7.7. No other package changes, and no constraint is added to pyproject.toml unless authlib caps the version (then the item says so and stops).
  • Confirm that uv audit and devops ci --check --only audit pass.
  • Confirm that the service and runner images build from the lock (uv sync --locked).

Target Subsystem

uv.lock.

Existing Tool Considered

uv lock --upgrade-package and uv audit. Renovate does not manage the Python lock (it is off for Python, .github/renovate.json). Nothing is built.

Acceptance criteria

  • uv.lock pins joserfc at 1.7.6 or later, and a diff of the lock shows no other package changed.
  • uv audit finds no vulnerability.
  • uv run devops ci passes.

Evidence: the Static Analysis log of PR 2784 (run 41080628482) and the OSV record of GHSA-9pg5-8c7x-5hfx.

Activity

  1. added
    source/agent
    type/bug
    scope/security
    status/new
    value/high
    effort/low
    on Oct 30, 2026
  2. dan-petty commented on Oct 30, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/bug. The fix prefix of the title gives the type.
    • Scope: scope/security. The (security) scope of the title gives the scope.
    • Priority: P1-High. A known CVE blocks every pull request and main, so all development is halted until the lock is updated. The advisory GHSA-9pg5-8c7x-5hfx does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.
    • Value: High. Unblocks all PRs and removes a disclosed vulnerability from the dependency tree.
    • Effort: Low. A single uv lock --upgrade-package command plus verification that audit and CI pass.
    • Related: fix(deps): the lockfile moves virtualenv to 21.14.7, which fixes four advisories that fail the audit check #1790, which asks for a different change. Both upgrade a transitive dependency in uv.lock to clear a failing audit check, but #1790 targets virtualenv and the candidate targets joserfc.
  3. added
    priority/p1-high
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Oct 30, 2026
  4. added a commit that references this issue on Oct 30, 2026
    0b9f9e5
  5. removed
    status/in-review
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p1-highscope/securitysource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions