v0.1.99 — 20 Oct 2026
This release contains ten security fixes. Upgrade is recommended for every deployment. Four of them need something from you:
- Set
HOST_ORIGINon a proxied deployment. - Set
NEXT_PUBLIC_PARENT_ORIGINon a deployment that is framed. - A value already stored in a
hashfield is not migrated. - Twelve routes now return less to some callers.
Each one is described below.
Most of this release is security and correctness work. A browser test suite was written against the Studio, and writing it found most of the defects below.
Security — a concealed value was readable through a filter, a sort or an aggregate
Who is affected: Every deployment that stores a secret in a field, including a static token.
A concealed field is one with the conceal or hash special, or a system
secret such as a static token. The read path replaced its value with a mask, but
that rewrote the response body only. A filter, a sort, and an aggregate still
ran against the real column.
A caller who can list the collection was therefore able to read the value without ever seeing it:
| What the caller sends | What it tells them |
|---|---|
filter[token][_starts_with]=ab | The value, one character at a time |
| A count with that filter | How many rows carry a given prefix |
sort=token | The order of the rows by the real value |
user_created.token | The concealed column of a related collection |
One validator now runs at the two read entry points that every filter and sort passes through. The items routes, the users list, and the MCP items tool are all covered.
Security — a concealed value was returned in clear on a related row
Who is affected: Every deployment whose reads expand a relation that reaches a collection holding a secret.
The read path masked the concealed fields of the collection it read, and nothing that a relation expansion added. Those rows belong to other collections, and they came back unmasked.
GET /api/items/daas_access?fields=id,user.* returned the user’s static token.
So did any chain that reaches daas_users: the user_id of a junction, the
author of an O2M, a user_created column.
The resolver now walks the rows after the root masking. It masks every nested object with the concealed list of its own collection, at any depth.
Security — a concealed value was a search target
Who is affected: Every deployment that uses ?search=.
?search= scanned every text column of a collection unless the field was marked
as not searchable. A concealed value is masked in every response. The search
still ran over the stored value, so the answer told the caller which row holds a
value that contains the term. On the Users list, a fragment of a static token
found its owner.
The search targets now leave out every field that the read path masks, for every
collection. Every caller of the items search goes through that function:
/api/items, /api/users, /api/roles, /api/files, /api/scope/items, and
the MCP items tool.
Security — a hash field and the SMTP password were served in plaintext
Who is affected: Every deployment with a hash field, or an SMTP password
in settings.
A field with the hash special was stored exactly as typed. Every read returned
it, and every change wrote it into the revision history. smtp_password was
returned to any reader of the settings collection, and written into the revision
history on every change.
hash is now treated as a secret, in the way conceal already was. It is
masked on read, redacted in the revision history, and refused in aggregates. The
transformer stores a bcrypt hash, the same one /api/utils/hash/generate
produces. The update log diffs the real values and redacts afterwards, so a
change of secret is no longer invisible to the audit.
A value already stored in a hash field is not migrated. It is masked on
read from this release on, and it is hashed the next time it is written. Plan
a rewrite if such a value must not stay as it is at rest.
Security — system and workflow routes now apply the read grant of the caller
Who is affected: Deployments with non-admin users whose read grants carry a row filter or a field list.
Twelve routes checked that a read grant exists. They then read with the service-role client, which row-level security does not narrow. A non-admin whose grant carried a row filter or a field list therefore received every row and every column.
The routes are /api/activity, /api/cron, /api/cron/history,
/api/cron/[id]/history, /api/services, /api/extensions,
/api/policies/[id], /api/workflow-assignments,
/api/workflow-assignments/[id], /api/workflow-instances,
/api/workflow-instances/[id], and /api/workflow-instances/[id]/history.
Each one now applies the row filter and the field list of the grant. A single
row outside the filter answers 404, which is what a missing row answers.
POST /api/cron/[id]/run refuses a job outside the update filter of the caller,
because the run executes with the rights of the system.
These routes now return less than they did. Anything written against the wider answers sees the narrower, correct ones.
Security — a password-reset e-mail took the origin of its link from a header
Who is affected: Any deployment behind a proxy. This one needs a setting.
The reset route built the mailed link from an origin that falls back to the
X-Forwarded-Host or Host header when HOST_ORIGIN is unset. The request
comes from one person and the e-mail goes to another. A forged header therefore
asked the mail to carry the victim a link that lands on the site of the caller,
with the recovery credential in it.
The origin is now the configured one, or the address the server listens on. It is never taken from a header.
A proxied deployment needs HOST_ORIGIN set for reset e-mails to point at
the right site.
Security — only the parent window can theme an embedded Studio
Who is affected: Any deployment that is framed by another page. This one needs a setting.
The theme receiver added its listener on every page, embedded or not, and with no parent origin configured it accepted a message from any window. A page that had opened the Studio was able to set properties on the document and add a stylesheet, and a stylesheet with attribute selectors reads what is on the page.
- A Studio that is not embedded adds no listener. An embedded Studio reads a message only from its own parent window, and only from the configured origin.
- The guard that judged a stylesheet as harmless was not a boundary. The variables in the message were not checked, and the embedded Studio posts its document height to the parent, so a rule that changes the height when a selector matches is a channel by itself.
- The senders read the parent origin from the build-time value only, so an image built without the variable posted the route, the query string, the document size, and scroll requests to any site that framed it.
Set NEXT_PUBLIC_PARENT_ORIGIN on a deployment that is framed. It names
the one window that is allowed to theme the Studio.
Security — other
- A deleted module access key no longer grants. A key removed from the
registry stayed effective, because a policy kept it in its
module_accessmap and the merge never consulted the registry. - A revoked log stream ends.
/api/logs/streamchecked thesystem:logskey only when the stream opened. The check now runs again while the stream is open, and the stream ends when it fails. - A refused sign-in leaves no session. Login gave a session to an account that is not active, and a sign-in the server refused, or one that could not finish its second-factor step, left a session behind.
- Next.js is upgraded past two remote-code-execution advisories
(
GHSA-673q-mjm6-r5xrandGHSA-2464-fhr4-w9xw/CVE-2026-96889, both rated 9.5). The Studio moves to 16.4.2 and the documentation site to 15.5.28.
Added
- The page that a password-reset e-mail opens.
- The two Cron pages and the six Workflow pages are now thin shells around the vendored cron-management and workflow-management modules.
Fixed
A browser test suite was written against the Studio, and it found a large batch of defects. They are grouped here by the part of the Studio they belong to.
Cron. Next Run is the time the schedule next fires in the timezone of the
job, and rescheduling clears a Next Run the new schedule does not give. A job
cannot be saved with a schedule that is not a cron expression. Save sends only
the fields that changed. A run counts as a timeout only when its own timeout
ended it, and it keeps its lock while a timed-out handler is still running. A
list page past the last one is an empty page rather than a 500.
Workflows. A list page past the last one is an empty page rather than a
500, and a missing assignment id answers 404. A refused command save opens
the tab that holds the failing field and scrolls it into view. Invalid
Parameters JSON is reported and blocks the save. The command and state dialogs
keep the values they do not edit.
Settings. General cannot be saved before its stored value has been read. A
whole-number field takes no fraction, an emptied number field is not saved as
0, and a number too large for its column is refused. The AI and MCP page sends
only the settings the user changed.
Scopes. A collection config is refused unless its field is a column of its collection, at every door that writes one. A refused save keeps the dialog open and says why. The scope switcher offers the scopes of a policy attached directly to the user.
Users and roles. A user can read their own record through the items route, and that record expands only the relations the user is allowed to read. Moving members between roles happens completely or not at all. A role cannot take itself or its own descendant as parent. The role form saves only the fields that changed.
Files. Every door that updates a file refuses metadata that its columns cannot hold. A file whose folder changed now moves its stored object with the row, so preview, download, and delete no longer look in the wrong place. The library clears its selection when the folder changes, so a delete cannot remove files that are no longer on screen.
Extensions. A reader who opens an extension sees the extension rather than
the default form, and a reader whose grant withholds fields sees them as
withheld. An upload a filter extension rejects now reports the reason the
extension gave, rather than a generic 500.
Shell and navigation. The shell stops loading and shows no access when the
user record cannot be loaded. The System section shows for a holder of the
system:logs key. The sidebar is usable from the keyboard and by name. Detail
pages wait for permissions before sending a reader away.
Content and data model. A date or time field shows its stored value in the picker, and a superseded form load does not reset what was typed. The sort field of an O2M is on its relation row from creation. Field metadata is now read in pages, so a schema with many collections no longer answers with no metadata at all, and a failed read is an error rather than a silent success.
Other. A term retyped right after Clear is searched again. A double click on a confirm button sends one request. A refused create with App Access leaves no policy behind.