HydraIssues

hydravenues: the venue layout API served operations-only content to unauthenticated callers (fixed in v0.50.0)
open bug Project: hydravenues Reporter: 27 Oct 2026 13:17

Description

Filed after the fact, for the record and for the rotation decision. Fixed and verified live in v0.50.0. No credential values, and no reproduction recipe, are in this issue: this tracker is a public website.

What happened

GET /api/v1/venues/{id}/layout carried no authentication. It returned the venue layout file as JSON to any caller. The PUT on the same path has always required a capability; the GET never did.

For most of the service's life that was close to harmless, because the layout held the shape of a hall. v0.49.0 added the exhibitor manuals to the same file, and those documents contain working credentials and personal contact details for named people. From that moment the route returned them to anybody.

The stand page shows the same content only to a reader who may view operations. Every HTML page was correctly gated. Ten public routes were checked against the live service with no cookie, no token and no session: nine were clean, this one was not.

Window

  • Credentials: about eleven minutes, from 12:57:45Z on 2026-10-27 until the v0.50.0 deploy. Measured from the layout file mtimes against the node's own clock.
  • Floor-written notes (lessons): weeks. Those have been on the endpoint since the lessons feature shipped.

What is affected

Three working credentials across two stands in two of the four FTI worlds, two pointers to where further credentials are stored on a stand PC, and direct mobile numbers or e-mail addresses for five named people. The exact list went to the owner directly and is deliberately not written here.

Fix

v0.50.0, commit 4fb7b8f. The route now resolves the same viewer the pages resolve and, for a caller who may not view operations, serves the layout with the lessons and the manuals removed. It filters a copy, so the stored file is untouched.

Verified after deploy from outside, with no credentials: all four worlds return zero manuals and zero lessons, and are otherwise byte-identical to the previous response. 280 stands, 251 plan positions and 639 assets all unchanged, so no consumer loses anything but those two fields.

Owner decisions still open

  1. Rotate or read the logs first. The scale keeps no request log and the node journal holds no matching lines, so whether anything actually read the endpoint can only be answered from the traefik access log on the edge router, which is a different host. The cheaper path is to rotate regardless.
  2. Two of the three credentials are a minute of an exhibitor's time. The third is an iPad accessibility code on a stand locked into one app, so changing it means walking that stand through guided access again mid-expo, and the document that explains how is the one that leaked. Those two are not comparable and should not be decided together.

Not fixed, deliberately

Asset notes still go out in full on that route. They hold nothing credential-shaped today and no page displays them. Widening an incident fix to a field that is not leaking risks breaking consumers that cannot be seen from this repo. It needs its own change, and the consumers found first.

The general lesson

When a feature puts something new into a store, list every route that serves that store, not every page. A page has a reader and somebody pictures the reader. A machine route has a consumer and nobody pictures anybody. Two sessions called this endpoint repeatedly that afternoon to check their own work, and neither asked why it answered without being asked for credentials.

Written up in docs/runbooks/runbook.md under "The gate was on the page and not on the API (v0.50.0)".

Session Context

Venue
nekkerhal