Skip to content

events: fix ACLs being case sensitive#3

Merged
jevolk merged 1 commit into
matrix-construct:tuwunel-1.5.0from
velikopter:tuwunel/fix-acl-case-sensitivity
Feb 12, 2026
Merged

events: fix ACLs being case sensitive#3
jevolk merged 1 commit into
matrix-construct:tuwunel-1.5.0from
velikopter:tuwunel/fix-acl-case-sensitivity

Conversation

@velikopter
Copy link
Copy Markdown

No description provided.

@jevolk jevolk changed the base branch from tuwunel-changes to tuwunel-1.5.0 February 12, 2026 08:47
@jevolk jevolk merged commit 495c96a into matrix-construct:tuwunel-1.5.0 Feb 12, 2026
@velikopter velikopter deleted the tuwunel/fix-acl-case-sensitivity branch February 13, 2026 04:36
nell-freckle Bot pushed a commit to nicolerenee/infra that referenced this pull request Mar 8, 2026
…0 → v1.5.1 ) (#1513)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/matrix-construct/tuwunel](https://redirect.github.com/matrix-construct/tuwunel)
| patch | `v1.5.0` → `v1.5.1` |

---

### Release Notes

<details>
<summary>matrix-construct/tuwunel
(ghcr.io/matrix-construct/tuwunel)</summary>

###
[`v1.5.1`](https://redirect.github.com/matrix-construct/tuwunel/releases/tag/v1.5.1)

[Compare
Source](https://redirect.github.com/matrix-construct/tuwunel/compare/v1.5.0...v1.5.1)

##### Tuwunel 1.5.1

March 6, 2026

##### Security Fixes

- A security audit of SSO/OIDC released with 1.5.0 uncovered several
issues. We strongly advise everyone using SSO/OIDC upgrade to this
release. Users should also note that until MSC2454 is implemented
(tracked by
[#&#8203;314](https://redirect.github.com/matrix-construct/tuwunel/issues/314))
accounts will have to set a password to access functionality protected
by User Interactive Authentication (e.g. when removing devices). We are
deeply grateful to
[@&#8203;outfrost](https://redirect.github.com/outfrost) and
[@&#8203;exodrifter](https://redirect.github.com/exodrifter) for their
effort and professionalism as security researchers.

- Case-sensitive comparisons in Room Access Control Lists were fixed by
[@&#8203;velikopter](https://redirect.github.com/velikopter)
([ruma/ruma#2358](https://redirect.github.com/ruma/ruma/issues/2358))
([matrix-construct/ruma#3](https://redirect.github.com/matrix-construct/ruma/issues/3))
([`814cbc2`](https://redirect.github.com/matrix-construct/tuwunel/commit/814cbc2f3)).

##### New Features & Enhancements

- New options for `identity_provider` configurations include: `trusted`
allowing association of SSO accounts to existing matrix users
([#&#8203;252](https://redirect.github.com/matrix-construct/tuwunel/issues/252));
`unique_id_fallbacks` to disable random-string users; `registration` to
prevent registration through an IdP altogether; `check_cookie` for
deployments that cannot use cookies.

- Thanks to
[@&#8203;Enginecrafter77](https://redirect.github.com/Enginecrafter77)
password authorization flows can now be disabled by configuring
`login_with_password = false`. Clients will hide the input boxes for
username and password. This option is useful for an e.g. SSO-only
server.
([#&#8203;336](https://redirect.github.com/matrix-construct/tuwunel/issues/336))

- Thanks to [@&#8203;Lymia](https://redirect.github.com/Lymia) users of
btrfs will see reduced space usage if they configure the new option
`rocksdb_allow_fallocate = false`.
([#&#8203;322](https://redirect.github.com/matrix-construct/tuwunel/issues/322))
(PR also has links to more information)

- Instructions for how to configure the TURN server built into Livekit
and several corrections were contributed by serial documentation author
[@&#8203;winyadepla](https://redirect.github.com/winyadepla) in
([#&#8203;285](https://redirect.github.com/matrix-construct/tuwunel/issues/285)).

- Many users will appreciate substantial documentation by
[@&#8203;alametti](https://redirect.github.com/alametti) for configuring
well-known and root domain delegation in
([#&#8203;352](https://redirect.github.com/matrix-construct/tuwunel/issues/352)).

- Thank you
[@&#8203;the-hazelnut](https://redirect.github.com/the-hazelnut) for
updating TURN and Matrix RTC documentation with ports to be forwarded
for NAT.
([#&#8203;305](https://redirect.github.com/matrix-construct/tuwunel/issues/305))
([#&#8203;306](https://redirect.github.com/matrix-construct/tuwunel/issues/306))

- The `username` claim is now recognized when deciding the MXID during
SSO account registration thanks to a suggestion by
[@&#8203;aazf](https://redirect.github.com/aazf) in
([#&#8203;287](https://redirect.github.com/matrix-construct/tuwunel/issues/287)).

- The max limit for `/messages` was increased from 100 to 1000 by
[@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) which should
match the limit on Synapse but with far less of a performance hazard.

- [@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) properly
optimized certain checked-math macros; other checked-math macros were
also optimized for inlining.

- Concurrent batch requests can now be made to a notary server. The
default concurrency is now two, and the size of the batches have been
decreased by a third. This should reduce the time it takes to join large
rooms.

- Optimization of functions which hurt performance for syncing
user-presence were partially completed, though with marked improvement
from before.

- Optimization of new state-resolution functionality added during
Project Hydra took place. Along with additional optimization for
auth-chain gathering, CPU use for large/complex rooms (so-called "bad
rooms") has been greatly reduced.

##### Bug Fixes

- Special thanks to
[@&#8203;hatomist](https://redirect.github.com/hatomist) for fixing an
error which changes a users's account-type when they set a password
([#&#8203;313](https://redirect.github.com/matrix-construct/tuwunel/issues/313)).
This impacted LDAP and some SSO users. We apologize for the
inconvenience this may have caused.

- We appreciate effort by
[@&#8203;Jeidnx](https://redirect.github.com/Jeidnx) for addressing
various issues with SSO/OIDC Identity Provider configuration in
([#&#8203;281](https://redirect.github.com/matrix-construct/tuwunel/issues/281)).
Also noteworthy was the idea to derive the callback\_url from other
parameters by default rather than explicitly requiring it. Thanks to
[@&#8203;Magnitaizer](https://redirect.github.com/Magnitaizer) for
reporting initially in
([#&#8203;276](https://redirect.github.com/matrix-construct/tuwunel/issues/276)).

- Thanks [@&#8203;VlaDexa](https://redirect.github.com/VlaDexa) for
fixing the missing output formatting for the oauth delete command.
([#&#8203;321](https://redirect.github.com/matrix-construct/tuwunel/issues/321))

- Thank you [@&#8203;risu729](https://redirect.github.com/risu729) for
updating the default port number in the docker run command
documentation.
([#&#8203;298](https://redirect.github.com/matrix-construct/tuwunel/issues/298))

- Thank you [@&#8203;Lamby777](https://redirect.github.com/Lamby777) for
removing an errant `version` field in the docker-compose example. (299)

- Thank you [@&#8203;cornerot](https://redirect.github.com/cornerot) for
updating the docker-compose with-traefik which still said Conduit
instead of Tuwunel after all this time.
([#&#8203;308](https://redirect.github.com/matrix-construct/tuwunel/issues/308))

- Thank you [@&#8203;exodrifter](https://redirect.github.com/exodrifter)
for fixing errors and typos in the MatrixRTC documentation
([#&#8203;343](https://redirect.github.com/matrix-construct/tuwunel/issues/343))
based on a report by
[@&#8203;RhenCloud](https://redirect.github.com/RhenCloud)
([#&#8203;338](https://redirect.github.com/matrix-construct/tuwunel/issues/338)).

- Thank you
[@&#8203;wuyukai0403](https://redirect.github.com/wuyukai0403) for
proofreading and fixing a typo in the troubleshooting document.
([#&#8203;312](https://redirect.github.com/matrix-construct/tuwunel/issues/312))

- A report by
[@&#8203;BVollmerhaus](https://redirect.github.com/BVollmerhaus) lead to
the reopening of
([#&#8203;240](https://redirect.github.com/matrix-construct/tuwunel/issues/240))
to use Livekit/lk-jwt-service when federation is disabled. This was
re-resolved by
[@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) in
([`b79920a`](https://redirect.github.com/matrix-construct/tuwunel/commit/b79920a)).

- Thanks to [@&#8203;Jeidnx](https://redirect.github.com/Jeidnx) for
identifying a missing SSO redirect route in
([#&#8203;290](https://redirect.github.com/matrix-construct/tuwunel/issues/290))
which was fixed in
([matrix-construct/ruma@`0130f6a`](https://redirect.github.com/matrix-construct/ruma/commit/0130f6a)).

- We appreciate the panic report by
[@&#8203;Spaenny](https://redirect.github.com/Spaenny) in
[#&#8203;296](https://redirect.github.com/matrix-construct/tuwunel/issues/296)
which occurred during SSL-related upgrades on the main branch. Fixed by
[@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu)
([`87faf81`](https://redirect.github.com/matrix-construct/tuwunel/commit/87faf81)).

- Thanks to report
([#&#8203;302](https://redirect.github.com/matrix-construct/tuwunel/issues/302))
by [@&#8203;data-niklas](https://redirect.github.com/data-niklas)
whitespace in the configured `client_secret_file` is now properly
ignored thanks to
[@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu)
([`6f5ae17`](https://redirect.github.com/matrix-construct/tuwunel/commit/6f5ae17)).

- After [@&#8203;Giwayume](https://redirect.github.com/Giwayume)
reported in
([#&#8203;303](https://redirect.github.com/matrix-construct/tuwunel/issues/303))
that URL previews failed for some sites, an investigation by
[@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) discovered
Tuwunel's User-Agent header required some adjustment.

- [@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) refactored
the Unix socket listener with main-branch testing by
[@&#8203;VlaDexa](https://redirect.github.com/VlaDexa)
([#&#8203;310](https://redirect.github.com/matrix-construct/tuwunel/issues/310))
and follow-up fixes in
([`488bd62`](https://redirect.github.com/matrix-construct/tuwunel/commit/488bd62)).

- [@&#8203;jonathanmajh](https://redirect.github.com/jonathanmajh)
reported in
([#&#8203;315](https://redirect.github.com/matrix-construct/tuwunel/issues/315))
and [@&#8203;wmstens](https://redirect.github.com/wmstens)
simultaneously reported in
([#&#8203;318](https://redirect.github.com/matrix-construct/tuwunel/issues/318))
that admin status was not granted to the server's first user when
registering with SSO/OIDC. This was fixed by
([`e74186a`](https://redirect.github.com/matrix-construct/tuwunel/commit/e74186a)).

- After a report by [@&#8203;tcyrus](https://redirect.github.com/tcyrus)
in
([#&#8203;328](https://redirect.github.com/matrix-construct/tuwunel/issues/328))
that the RPM postinst script is not properly creating the tuwunel user.
This was fixed by [@&#8203;x86pup](https://redirect.github.com/x86pup)
in
([`5a55f84`](https://redirect.github.com/matrix-construct/tuwunel/commit/5a55f84)).

- Thank you [@&#8203;cloudrac3r](https://redirect.github.com/cloudrac3r)
for reporting in
([#&#8203;330](https://redirect.github.com/matrix-construct/tuwunel/issues/330))
that events were being unnecessarily sent to some appservices. This was
fixed by [@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) in
([`d073e17`](https://redirect.github.com/matrix-construct/tuwunel/commit/d073e17)).

- Thanks to the report in
([#&#8203;331](https://redirect.github.com/matrix-construct/tuwunel/issues/331))
by [@&#8203;BVollmerhaus](https://redirect.github.com/BVollmerhaus) the
first registered user is not granted admin when originating from an
appservice. Fixed by
[@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) in
([`9dfba59`](https://redirect.github.com/matrix-construct/tuwunel/commit/9dfba59)).

- The report by [@&#8203;rexbron](https://redirect.github.com/rexbron)
in
([#&#8203;337](https://redirect.github.com/matrix-construct/tuwunel/issues/337))
discovered that some distributions set modest limits on threads per
process. On many-core (32+) we may exceed these limits. The
`RLIMIT_NPROC` is now raised
([`9e09162`](https://redirect.github.com/matrix-construct/tuwunel/commit/9e09162))
to mitigate this.

- [@&#8203;x86pup](https://redirect.github.com/x86pup) set
ManagedOOMPreference=avoid due to systemd not recognizing pressure-based
deallocation with `madvise(2)` is not an out-of-memory condition.

- [@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) removed
unnecessary added delays in the client endpoint for reporting.

- Server shutdown did not properly indicate offline status of the
conduit user due to a recent regression, now fixed.

- [@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) fixed logic
issues in the client `/members` query filter. These same logic errors
were also found in Synapse and Dendrite.

- [@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) fixed the
missing advertisement for `org.matrix.msc3827.stable` in client
`/versions`.

- Custom profile fields were sometimes being double-escaped in responses
to clients due to a JSON re-interpretation issue which is now fixed.

- [@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) fixed
checks related to canonical aliases
([`0381547`](https://redirect.github.com/matrix-construct/tuwunel/commit/0381547c5)).

- [@&#8203;dasha-uwu](https://redirect.github.com/dasha-uwu) relaxed the
`encryption_enabled_by_default_for_room_type` "invite" option to not
match all rooms.

- [@&#8203;x86pup](https://redirect.github.com/x86pup) fixed an issue
with `display_name` and `avatar_url` omitted in `/joined_members` (fixed
in our Ruma).

- Event processing of missing `prev_event`'s are no longer interrupted
by an error from a sibling `prev_event`. This reduces CPU use by not
repeating event processing before it would otherwise succeed.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS4yIiwidXBkYXRlZEluVmVyIjoiNDMuNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9wYXRjaCJdfQ==-->

Co-authored-by: bot-nicole[bot] <205127124+bot-nicole[bot]@users.noreply.github.com>
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.

2 participants