Skip to content

Commit b27ee25

Browse files
author
1bcMax
committed
chore: release v3.49.19 — the panel's task route can no longer read files outside the tasks folder
1 parent 91a4f81 commit b27ee25

3 files changed

Lines changed: 25 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## Franklin Agent 3.49.19 — the panel's task route can no longer read files outside the tasks folder
4+
5+
Security fix. Follow-up to GHSA-jx74-262x-94p3, which 3.49.3 fixed for
6+
`/api/sessions/:id` only. Upgrade if you run `franklin panel`.
7+
8+
- **Task ids cannot leave the tasks folder.** `/api/tasks/:runId` turned the
9+
id from the URL into a path without checking it, so
10+
`/api/tasks/..%2F..%2F<dir>` read `meta.json`, `events.jsonl` or `log.txt`
11+
from any folder on disk. Session ids and task run ids now pass one shared
12+
check that refuses `..`, `/`, `\` and null bytes. That covers session
13+
meta files too, which the cleanup code deletes. A bad task id now gets a
14+
404.
15+
- **Every panel API route needs the page token, read-only ones included.**
16+
The checks for a local caller and a local Host header do not tell OS users
17+
apart, so another account on a shared machine, or anyone reaching the port
18+
through an `ssh -L` tunnel, could read session transcripts and the audit
19+
log. The panel page already sent its per-process token with every fetch.
20+
The live event stream now passes it as `?token=`, because EventSource
21+
cannot set headers.
22+
23+
Thanks to Rajnish Tiwari, who reported the original issue.
24+
325
## Franklin Agent 3.49.18 — the Desktop beta.9 work lands in the agent
426

527
This release merges the Desktop 0.2.0 beta line back into the agent, so

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blockrun/franklin",
3-
"version": "3.49.18",
3+
"version": "3.49.19",
44
"description": "Franklin Agent — The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.",
55
"type": "module",
66
"exports": {

0 commit comments

Comments
 (0)