Skip to content

Commit 185e35c

Browse files
committed
fix: drop all aiohttp CVE ignores via aiogram 3.30 + aiohttp 3.14.1 (v0.18.1)
Nine new aiohttp PYSEC advisories (published today, fixed only in 3.14.x) turned the blocking CI pip-audit red minutes after the v0.18.0 push. aiogram 3.30 has lifted its aiohttp<3.14 cap, so instead of nine more ignore flags this takes the real fix the project has been waiting on since v0.16.0: aiohttp 3.14.1, clearing the two long-ignored CVEs (CVE-2026-34993, CVE-2026-47265) and the new batch. Also bumps cryptography 47->49, msgpack 1.1.2->1.2.1, pydantic-settings 2.14.2 past their advisories. pip-audit now runs with no ignores and reports no known vulnerabilities; 1219 tests, mypy strict and ruff clean on the upgraded set. Claude-Session: https://claude.ai/code/session_01JJzWL7m4Rf6u71aGifgeJn
1 parent 61bf29e commit 185e35c

5 files changed

Lines changed: 239 additions & 212 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,8 @@ jobs:
3434
run: uv run pytest tests/
3535

3636
# Audits the project venv for known CVEs. Blocking, so new CVEs surface
37-
# immediately. Ignored IDs are aiohttp issues fixed only in 3.14, which
38-
# aiogram caps below; neither is exploitable here (no CookieJar.load(),
39-
# no per-request cookies) — see pyproject.toml. Drop the ignores once
40-
# aiogram allows aiohttp>=3.14.
37+
# immediately. No ignores: the long-standing aiohttp exceptions were
38+
# dropped in v0.18.1 when aiogram 3.30 lifted its aiohttp<3.14 cap and
39+
# we moved to aiohttp>=3.14.1.
4140
- name: Dependency audit (pip-audit)
42-
run: >
43-
uv run pip-audit
44-
--ignore-vuln CVE-2026-34993
45-
--ignore-vuln CVE-2026-47265
41+
run: uv run pip-audit

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
All notable changes to UnraidMonitor will be documented in this file.
44

5+
## [0.18.1] - 2026-07-18
6+
7+
### Security
8+
- **All aiohttp CVE ignores dropped** — aiogram 3.30 lifted its `aiohttp<3.14` cap, so aiohttp is now 3.14.1, which fixes the two long-ignored advisories (CVE-2026-34993, CVE-2026-47265) *and* the nine new aiohttp PYSEC advisories published 2026-07-18 that turned CI red minutes after the v0.18.0 push. CI pip-audit now runs with **no ignore flags**.
9+
- Bumped `cryptography` (47.0.0 → 49.0.0), `msgpack` (1.1.2 → 1.2.1), and `pydantic-settings` (2.14.1 → 2.14.2) past their respective advisories. `pip-audit`: no known vulnerabilities.
10+
11+
### Changed
12+
- aiogram 3.28.2 → 3.30.0 (floor raised to `>=3.30.0`); full suite re-verified on the new versions.
13+
514
## [0.18.0] - 2026-07-18
615

716
### Added

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
[project]
22
name = "unraid-monitor-bot"
3-
version = "0.18.0"
3+
version = "0.18.1"
44
requires-python = ">=3.11"
55
dependencies = [
66
"docker>=7.0.0,<8.0.0",
7-
"aiogram>=3.4.0,<4.0.0",
7+
"aiogram>=3.30.0,<4.0.0",
88
"pyyaml>=6.0,<7.0",
99
"pydantic>=2.0,<3.0",
1010
"pydantic-settings>=2.0,<3.0",
1111
"psutil>=6.1.0,<8.0.0",
12-
# aiogram caps aiohttp <3.14; CVE-2026-34993/CVE-2026-47265 (fixed in 3.14)
13-
# are not exploitable here (no CookieJar.load, no per-request cookies) —
14-
# ignored in CI pip-audit. Lift floor to >=3.14 when aiogram allows it.
15-
"aiohttp>=3.13.5,<4.0.0",
12+
# aiogram >=3.30 allows aiohttp <3.15 — floor raised past the 2026 CVE
13+
# batch (all fixed in 3.14.x); CI pip-audit now runs with no ignores.
14+
"aiohttp>=3.14.1,<4.0.0",
1615
"python-dotenv>=1.0.0,<2.0.0",
1716
]
1817

src/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.18.0"
1+
__version__ = "0.18.1"

0 commit comments

Comments
 (0)