Repository navigation
v2.75.2
Webhooks, apps and sign-in kept to their owners: update now
This update closes holes in released code that our own audit found, and they are open today. Anyone holding an incoming webhook's address could send direct messages as the admin who made it. An installed app could reach channels and people it wasn't added to. An outgoing webhook could send an admin the messages of private channels they weren't in. A SAML sign-in answer could be used a second time. Members could have the assistant read private repositories that no project links. Everyone in a project could learn of tasks restricted to a few. And anyone with a copy of the database or one of its backups could use the booking, invitation and incoming webhook links kept in it. Update now. It also closes a gap that let remote images in emails load, keeps a project's billing rates from being wiped by a failed read, and stops a member moving other people's tasks along with their own. It doesn't fix everything, and it says below what is left.
- Incoming webhooks post only to channels. An incoming webhook now posts only to a channel, as its own bot. A message that names a direct message or a group chat is refused, and nothing is written.
- Apps reach only their places. An installed app's token is held to the places an admin added it to on every route of the API: posting, search, lists, and new tasks and docs. Direct messages, unread counts, attention and MCP refuse an app's token.
- Outgoing webhooks send only what their owner may read. A webhook is held to what the admin who owns it may read, when it is set up and as each delivery goes out. One whose owner leaves, or can no longer read what it is set up for, pauses, and the webhook list says why and offers Resume. An admin who changes the address of another admin's webhook takes it over. A webhook's log shows a message's contents only to admins who may read where it came from.
- Links are kept only as their hash. A booking's cancel link, an invitation's link and an incoming webhook's token are now stored as a hash, so a copy of the database or a backup can't be used to cancel a booking, join as someone invited or post as a webhook. Links already sent keep working. An incoming webhook's address is shown once, when it is made or made anew.
- A SAML sign-in answer signs in once. Using it a second time is refused.
- The assistant's code tools read only repositories that a project links, and only for people in that project.
- A project's live updates no longer name tasks restricted to a few people.
Fixes
- Remote images in emails no longer load through a malformed tag.
- When a project's billing rates failed to load, saving the rates dialog replaced the currency and removed every person's rate, and two admins saving at once dropped each other's changes. The dialog now says the read failed, and the server refuses a save made from an old or failed read.
- In a project where members change only their own tasks, moving a task together with the tasks that wait on it moved other people's tasks too. It now moves only the tasks the mover may change.
- An agent's work on a task now reaches its project's live updates.
- Typing @ in a message box opened the list off the bottom of the window on a page's first @; it now opens above the box when there's no room below.
- A doc thread made into a task, and its task, are now brought back in step when an update between them goes missing.
What this update doesn't fix
- Making or removing an admin, deactivating or reactivating someone, invitations and SCIM credentials still leave no entry in the audit log. A later update records them.
- A web app from before 22 October keeps working through its compatibility cookie, which stays on by default. Set
CSRF_LEGACY_COOKIE=offin.envonce every web app you run is updated.
Before you update
Three database migrations (488, 489 and 490), which make update applies after taking a backup. They only add, and links sent before the update keep working. Re-run the install command you installed with, then make update; it rebuilds the server, the web app and the collaboration service, so the install is unavailable for a short while. Everyone stays signed in.
Update the web app with the server, as make update does. An older web app can't save a project's billing rates once some are set, because the server now asks for the version it read. Anyone with OneCamp open in a browser should reload it once the update is done.
Three things look different afterwards. When a host moves a booking made before the update, its email can't carry a fresh cancel link, so it points the guest to the link they already have. An invitation sent before the update offers only Send again in the admins' list, not a link to copy. And an incoming webhook's address is shown once, when it is made or made anew: to see one again, make it anew, and update whatever posts to it.
For scripts and integrations:
- Incoming webhooks no longer accept
dm_idorgroup_chat_id. A payload that names either is refused with a 400, and nothing is written. They post tochannel_id, or tochannel(its name), or to the webhook's default channel. - An app's token is held to its places on every
/v1route./messages/dm,/unreadand/attentionrefuse it, and so does MCP for now. People's and agents' tokens are unchanged. - An incoming webhook's token comes only in the answers that make it: creating the webhook, and
POST /admin/webhooks/{id}/regenerate-token. Reading a webhook no longer returns it. - The webhook list says
paused_atandpaused_reason. Resuming a paused webhook hands it to the admin who resumes it, who must be able to read what it is set up for. POST /project/{id}/ratestakes theupdated_atits read returned. A save from an older read answers 409 and changes nothing.- The assistant's code tools,
POST /ai/code/analyzeandPOST /ai/release-notesread only repositories that a project links, for people in that project; others are refused.