Skip to content

Commit 7b7a0cb

Browse files
committed
fix(deps): pin starlette>=1.0.1 to fix BadHost (CVE-2026-48710)
1 parent 0b35fe0 commit 7b7a0cb

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

CHANGELOG.md

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

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

5+
## [0.30.2 - 2026-06-02]
6+
7+
### Changed
8+
9+
- `download_directory_as_zip`: the order of entries inside the returned archive is no longer guaranteed; it now depends on the Nextcloud server's database backend, after Nextcloud server [#60225](https://github.com/nextcloud/server/pull/60225) removed the implicit `ORDER BY name ASC`. #429
10+
11+
### Security
12+
13+
- Pinned `starlette>=1.0.1` to address **BadHost** ([CVE-2026-48710](https://github.com/advisories/GHSA-86qp-5c8j-p5mr)): a crafted `Host` header could desync `request.url.path` from the routed path in Starlette ≤ 1.0.0, bypassing path-based authorization. FastAPI does not constrain Starlette's upper bound, so an explicit floor is required to guarantee the fix. The `fastapi` floor was also raised to `>=0.133` (the first release compatible with Starlette 1.0+).
14+
515
## [0.30.1 - 2026-04-26]
616

717
### Added

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ dynamic = [
4646
"version",
4747
]
4848
dependencies = [
49-
"fastapi>=0.109.2",
49+
"fastapi>=0.133",
5050
"filelock>=3.20.3,<4",
5151
"niquests>=3,<4",
5252
"pydantic>=2.1.1",
5353
"python-dotenv>=1",
54+
"starlette>=1.0.1",
5455
"xmltodict>=0.13",
5556
]
5657
optional-dependencies.app = [

0 commit comments

Comments
 (0)