Repository navigation
chore(deps): bump PHP dependencies to close published advisories [10.16] - #41784
Merged
Merged
Conversation
Signed-off-by: Thomas Müller <[email protected]>
DeepDiver1975
force-pushed
the
fix/deps-10.16-cve
branch
from
August 21, 2026 12:49
11e0e5e to
1b36022
Compare
This was referenced Aug 21, 2026
phil-davis
approved these changes
Aug 22, 2026
phil-davis
pushed a commit
that referenced
this pull request
Aug 22, 2026
.github/dependabot.yml declared no target-branch, so Dependabot only ever opened PRs against master. The maintained 10.16 branch received no dependency updates at all, which is why it drifted behind on published composer advisories until they were backported by hand in #41784. Adds a second composer block with target-branch: "10.16". npm and github-actions are deliberately left master-only: the /build npm tree and the workflow pins are not part of the release tarball, so there is no security benefit to duplicating that churn on a maintenance branch. Signed-off-by: Thomas Müller <[email protected]>
Merged
oc-tmueller
added a commit
that referenced
this pull request
Sep 25, 2026
Bump version.php to 10.16.5 and materialize the changelog fragments for this release. $OC_Version becomes [10, 16, 5, 0]: the 4th digit is the internal DB-upgrade patch level, not the public patch number, and nothing in this release needs it moved. The 11 fragments in changelog/unreleased/ move into changelog/10.16.5_2026-09-25/ (git mv, so the renames stay tracked) and CHANGELOG.md is regenerated with calens. unreleased/ keeps its .gitkeep and is now empty, ready for the next cycle. Security: - #41784 update PHP dependencies to close published advisories - #41803 prevent path traversal via appconfig public_/remote_ keys - #41827 reject SVG/script content before it reaches ImageMagick bitmap previews - #41834 pin the Imagick coder for each preview provider Bugfixes: - #41782 restore index usage for filecache writes on Oracle - #41808 avoid a deprecation notice when hashing the file cache path on Oracle - #41814 show federated users in the share dialog when local users also match - #41819 speed up Oracle schema introspection - #41835 release the file handle when a bitmap preview cannot be decoded - #41855 report a preview file that cannot be opened without logging noise Changes: - #41788 update PHP dependencies Same shape as 852062d ("feat: release 10.16.4"), which did the changelog and the version bump in one commit. Once merged, v10.16.5 gets tagged on the merged commit and the release bundles are built and published from owncloud/server-release. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Thomas Müller <[email protected]>
oc-tmueller
added a commit
that referenced
this pull request
Sep 25, 2026
* feat: release 10.16.5 Bump version.php to 10.16.5 and materialize the changelog fragments for this release. $OC_Version becomes [10, 16, 5, 0]: the 4th digit is the internal DB-upgrade patch level, not the public patch number, and nothing in this release needs it moved. The 11 fragments in changelog/unreleased/ move into changelog/10.16.5_2026-09-25/ (git mv, so the renames stay tracked) and CHANGELOG.md is regenerated with calens. unreleased/ keeps its .gitkeep and is now empty, ready for the next cycle. Security: - #41784 update PHP dependencies to close published advisories - #41803 prevent path traversal via appconfig public_/remote_ keys - #41827 reject SVG/script content before it reaches ImageMagick bitmap previews - #41834 pin the Imagick coder for each preview provider Bugfixes: - #41782 restore index usage for filecache writes on Oracle - #41808 avoid a deprecation notice when hashing the file cache path on Oracle - #41814 show federated users in the share dialog when local users also match - #41819 speed up Oracle schema introspection - #41835 release the file handle when a bitmap preview cannot be decoded - #41855 report a preview file that cannot be opened without logging noise Changes: - #41788 update PHP dependencies Same shape as 852062d ("feat: release 10.16.4"), which did the changelog and the version bump in one commit. Once merged, v10.16.5 gets tagged on the merged commit and the release bundles are built and published from owncloud/server-release. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Thomas Müller <[email protected]> * fix: correct three defects in the 10.16.5 release notes Found reviewing the release commit, all three in text that ships inside the tarball, so this is the last point at which they are free to fix. **Six updated dependencies were unnamed.** Diffing composer.lock at v10.16.4 against this branch gives 17 changed production packages; the entry listed 11. Missing: sabre/dav (4.7.0 to 4.7.1), sabre/event (5.1.7 to 5.1.9), sabre/vobject (4.5.8 to 4.6.1), pimple/pimple (v3.6.1 to v3.6.2), nikic/php-parser (v5.7.0 to v5.9.0) and dg/composer-cleaner (v2.2.1 to v2.2.2). All but sabre/event are direct entries in composer.json's require, and sabre/vobject is a minor bump of the vCard/iCalendar parser behind CalDAV and CardDAV — an administrator auditing what moved in that stack for 10.16.5 would have seen nothing. Five of the six came from #41787, whose URL was missing from the entry as well; nikic/php-parser then went on to v5.9.0 in #41830, which was already listed. Earlier releases on this branch do list sabre bumps here (10.10.0, 10.11.0, 10.12.0), so the omission also broke the house convention. **Two entries linked a pull request that never reached this branch.** #41819 was merged into ci/oracle-db-in-github-actions-10.16, an intermediate branch that no longer exists on the remote; the change reached 10.16 through #41815 (9408736). Likewise the 41835 entry cited only master's #41835, while the 10.16 delivery was #41837 (6443822). Both now cite the 10.16 pull request first, matching what 41827, 41834 and 41855 already do with #41863 — so calens also makes the branch's own pull request the primary link. CHANGELOG.md is regenerated with calens and, as on the rest of this branch, written without a trailing newline: `ocrelease changelog` captures calens' stdout through execa, which strips it, and every released section on 10.16 was produced that way. Adding one here would only create churn at the next release. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Thomas Müller <[email protected]> * chore: fold the federated address book sync fix into the 10.16.5 release notes Its fix merged into 10.16 after the release notes were first prepared, so its changelog fragment was still sitting in changelog/unreleased and would have been deferred to the next release while the fix itself shipped in this one. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Thomas Müller <[email protected]> --------- Signed-off-by: Thomas Müller <[email protected]> Co-authored-by: Thomas Müller <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports the dependency updates that
masteralready has to the10.16branch,for the 10.16.5 release (OC10-149).
Why
The
10.16branch has had no dependency update since the 10.16.4 release commit(
852062dd, 2026-07-29). An inventory ofowncloud/server:10.16.4matchedagainst the GitHub Advisory Database found sixteen published advisories
against
lib/composeralone.masteris already clean — this brings10.16in line.
dev-mainCVE-2026-69246 is the one currently suppressed in
owncloud-docker/server'sv22.04/10.16.4/.trivyignore; this lets thatsuppression be dropped for the 10.16.5 image.
The dom-sanitizer pin is also a scanner blind spot
rhukster/dom-sanitizerwas required as"dev-main". A branch pin resolves to acommit and carries no version number, so no advisory version range can ever
match it — Trivy and every other range-based scanner have silently reported
nothing for this package in every scan we have ever run. The 10.16.4 image ships
commit
0794d8de(2025-11-30), which is five commits behind tag1.0.10andtherefore affected by CVE-2026-40301.
Requiring
^1.0.10fixes the vulnerability and makes the dependency visible toscanners. Note
masterstill has thedev-mainpin, so 11.x has the same blindspot — a separate PR follows for that.
What is deliberately not changed
firebase/php-jwtstays at 6.10.0 and remains affected by CVE-2025-45769(low, CVSS 6.5, weak encryption). The advisory is only fixed in 7.0.0, and every
7.x release requires
php: ^8.0, so it cannot be applied to a branch thatsupports PHP 7.4.
mastercarries v7.1.0 because it is PHP 8.3. This one has tobe accepted for the lifetime of the 10.16 line; it is called out in the changelog
entry so it is not mistaken for an oversight.
Verification
composer update --no-installunderconfig.platform.php = 7.4,so the result is what the release build will produce
composer validatepassesAdvisory Database: only the php-jwt advisory above remains
lib/composeris not tracked in git, so this is lockfile-onlyStructural note
.github/dependabot.ymlhas notarget-branch, so Dependabot only ever opensPRs against
master. That is why this branch drifted for a month whilemasterstayed current, and it will happen again on the next release branch unless an
entry with
target-branch: "10.16"is added.Refs: OC10-149
🤖 Generated with Claude Code