Skip to content

fix: address CVEs - #31

Merged
shipperizer merged 1 commit into
mainfrom
fix/cves
Sep 18, 2026
Merged

shipperizer merged 1 commit into
mainfrom
fix/cves

Conversation

@shipperizer

@shipperizer shipperizer commented Sep 18, 2026 •

Copy link
Copy Markdown
Collaborator

Description

This PR addresses remaining dependencies in rockcraft.yaml to ensure authentik-server is fully patched against security findings reported in #26:

Changes in this PR

  1. go-server part:
    • Added go get -u github.com/klauspost/compress to update to >=v1.18.7 (addresses GO-2026-5841).
    • Added go get -u go.opentelemetry.io/otel to update to >=v1.44.0 (addresses GO-2026-5158).
  2. python-deps part:
    • Cleaned up uv pip install call by combining --upgrade and alphabetizing PyJWT>=2.13.0 inline with other pinned packages.

Context on #26 Vulnerabilities

  • Python Dependencies: The packages reported in Vulnerabilities found for authentik-server:2026.5.3-26.04_18 #26 (aiohttp, cryptography, httplib2, pyasn1, sqlparse) were pinned on main via fix: address CVEs #29. A new rock build/release will update the published OCI image to resolve those findings.
  • Go Standard Library: The 8 Go stdlib vulnerabilities reported in /usr/bin/authentik-server (CVE-2026-33818, CVE-2026-39821, CVE-2026-46600, CVE-2026-56853, CVE-2026-56858, CVE-2026-56859, CVE-2026-56860, CVE-2026-56862) were fixed upstream in Go 1.26.6+. With go/1.26/stable currently providing Go 1.26.7, rebuilding the rock resolves these CVEs.

Validation

  • Go binary (authentik-server): Built with Go 1.26.7 and scanned with govulncheck -mode=binary; 0 vulnerabilities detected.
  • Python venv: Scanned with Trivy; 0 vulnerabilities detected.

Govulncheck Result (authentik-server)

=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.

Trivy Scan Result (Python Environment)

Report Summary
┌────────┬────────────┬─────────────────┬─────────┐
│ Target │    Type    │ Vulnerabilities │ Secrets │
├────────┼────────────┼─────────────────┼─────────┤
│ .venv  │ python-pkg │        0        │    -    │
└────────┴────────────┴─────────────────┴─────────┘
Result: Clean (no security findings detected)

Fixes #26

- CVE-2026-69244: aiohttp upgraded to >=3.14.3
- CVE-2026-69247: cryptography upgraded to >=50.0.0
- CVE-2026-53877, CVE-2026-53878, CVE-2026-48588: django upgraded to >=5.2.16,<6.0
- CVE-2026-73228, CVE-2026-73229: djangorestframework upgraded to >=3.17.2
- CVE-2026-71554: h2 upgraded to >=4.4.1
- CVE-2026-59939: httplib2 upgraded to >=0.32.0
- CVE-2026-45409: idna upgraded to >=3.15
- GHSA-6v7p-g79w-8964: msgpack upgraded to >=1.2.1
- CVE-2026-59884, CVE-2026-59885, CVE-2026-59886: pyasn1 upgraded to >=0.6.4
- CVE-2026-32597, CVE-2026-48526: PyJWT upgraded to >=2.13.0
- CVE-2026-59890: setuptools upgraded to >=83.0.0
- CVE-2026-54284, CVE-2026-59893, CVE-2026-71491: sqlparse upgraded to >=0.6.0
- CVE-2026-44431, CVE-2026-44432: urllib3 upgraded to >=2.7.0
- CVE-2026-56852, CVE-2026-56854: update Go x/ dependencies
- GO-2026-5841, GO-2026-5158: update compress and otel in go-server

Fixes #26
@shipperizer
shipperizer requested a review from a team as a code owner September 18, 2026 10:05
@shipperizer
shipperizer merged commit ba36a99 into main Sep 18, 2026
8 checks passed
@shipperizer
shipperizer deleted the fix/cves branch September 18, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vulnerabilities found for authentik-server:2026.5.3-26.04_18

1 participant