Skip to content

ci: accept CVE-2026-56854 for the bundled rclone binary - #62

Merged
phil-davis merged 1 commit into
masterfrom
ci/accept-cve-2026-56854
Sep 1, 2026
Merged

ci: accept CVE-2026-56854 for the bundled rclone binary#62
phil-davis merged 1 commit into
masterfrom
ci/accept-cve-2026-56854

Conversation

@kw-tmueller

Copy link
Copy Markdown
Contributor

The Trivy scan started failing without a code change: CVE-2026-56854 was added to the vulnerability database between the runs of 2026-08-31 and 2026-09-01. The same tree that passed on 2026-08-31 failed the next morning — on master and on every open pull request. This is exactly the case the weekly schedule was added for in #59.

bin/rclone_linux_amd64 is upstream rclone v1.75.0, which vendors golang.org/x/crypto v0.54.0; the fix is in v0.55.0. It is CRITICAL with a fix available, so it passes the HIGH,CRITICAL + ignore-unfixed gate and fails the job.

Why an accepted entry rather than an upgrade

  • Nothing to upgrade to. v1.75.0 (2026-07-31) is still the newest rclone release, so no rclone binary available today is free of this finding.
  • It clears with the next release, not a toolchain bump. rclone master already carries x/crypto v0.55.0. That is a different drop condition from the eight stdlib entries (which wait on go >= 1.26.6), so the entry is kept apart from them with its own note.
  • Not rebuilding a patched binary. fix(rclone): replace the forked binary with upstream v1.75.0 #56 deliberately replaced the custom fork with an upstream release.

Why it is not reachable here

The flaw is in the SSH server handshake (ssh.NewServerConn / connection.serverAuthenticate), where a source-address restriction returned by a password, keyboard-interactive, no-client-auth or GSSAPI callback went unenforced. It needs an inbound SSH connection to an SSH server.

This app never starts one: it shells out to rclone sync between two WebDAV remotes over HTTPS and to rclone obscure (lib/MigrationState/StateMigrateFiles.php), and never uses the sftp backend or rclone serve.

Verification

Ran trivy v0.74.0 against the same layout the workflow scans:

  • before the change: Total: 1 (CRITICAL: 1), exit 1 — matches the CI output exactly
  • after the change: 0 findings, exit 0
  • backdating expired_at re-reports all nine entries, so this acceptance still expires on 2026-11-01 rather than silently outliving its review date

No changelog entry, matching #59 (also scan-only).

🤖 Generated with Claude Code

The Trivy scan started failing without a code change: CVE-2026-56854 was added to
the vulnerability database between the runs of 2026-08-31 and 2026-09-01. The same
tree that passed on 2026-08-31 failed the next morning, on master and on every open
pull request. This is exactly the case the weekly schedule was added for.

bin/rclone_linux_amd64 is upstream rclone v1.75.0, which vendors
golang.org/x/crypto v0.54.0; the fix is in v0.55.0. It is CRITICAL with a fix
available, so it passes the HIGH,CRITICAL + ignore-unfixed gate and fails the job.

There is nothing to upgrade to yet: v1.75.0 (2026-07-31) is still the newest rclone
release, so no rclone binary available today is free of this finding. rclone master
already carries x/crypto v0.55.0, so this clears with the next release rather than
with a go toolchain bump - which is why the entry is kept apart from the eight
stdlib ones, whose drop condition is a different one. Rebuilding a patched binary
ourselves is not an option we want: #56 deliberately replaced the custom fork with
an upstream release.

The flaw is not reachable from this app. It is in the SSH server handshake
(ssh.NewServerConn / connection.serverAuthenticate), where a source-address
restriction returned by a password, keyboard-interactive, no-client-auth or GSSAPI
callback went unenforced, so it needs an inbound SSH connection to an SSH server.
This app shells out to `rclone sync` between two WebDAV remotes over HTTPS and to
`rclone obscure`; it never uses the sftp backend or `rclone serve`.

Verified with trivy v0.74.0 against the same layout the workflow scans: the finding
reproduces before the change and is gone after it, and backdating expired_at
re-reports all nine entries, so this acceptance still expires on 2026-11-01.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <169163068+ThomasMuellerKiteworks@users.noreply.github.com>
@kw-tmueller
kw-tmueller requested a review from a team as a code owner September 1, 2026 09:47
@phil-davis
phil-davis merged commit 8ac92de into master Sep 1, 2026
13 checks passed
@phil-davis
phil-davis deleted the ci/accept-cve-2026-56854 branch September 1, 2026 11:11
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