fix(security): cherry-pick upstream v1.26.2 security and bug fixes #225
Open
opened 2026-05-26 21:21:06 +00:00 by jmiller
·
0 comments
No Branch/Tag Specified
main
dev
version
4c4d2ac9562c3f623148a0cb7ddfead57a5e43f2
rc/05.06.00
fix/225-security-backports
fix/220-actions-deadlock-retry
rc/05.05.00
fix/wiki-slug-polish
fix/require2fa-import
fix/wiki-smart-filenames
feat/208-org-2fa-requirement
fix/207-http-content-render
rc/05.04.00
feat/login-notifications
rc/05.03.08
fix/help-footer-login-logo
fix/help-link-always-visible
rc/05.03.06
fix/missing-dashboard-icon
rc/05.03.05
fix/admin-nav-css
rc/05.03.04
fix/admin-nav-left-align
rc/05.03.03
fix/admin-nav-alignment
rc/05.03.02
fix/checksum-per-file
rc/05.03.01
rc/05.03.00
feat/rebrand-locale-mokogitea
rc/05.02.02
rc/05.02.01
rc/05.02.00
fix/183-org-sidebar
feat/181-admin-branding
rc/05.01.02
feat/auto-update-xml
rc/05.01.01
feat/deploy-maintenance-mode
rc/05.01.00
feat/release-sha-checksums
feat/update-checker-channels
feat/132-namespace-separation
feat/test-rc-workflow
rc/04.01.00
fix/security-backports
feat/upstream-bug-sync
fix/upstream-v1.26.2-backports
fix/136-actions-concurrency-nil-panic
feat/ntfy-integration
feat/badge-engine
feat/prometheus-metrics
feat/update-checker
alpha
beta
feature
feat/custom-logo
stable
v1.26.1-moko.05.01.02-rc.228
v1.26.1-moko.05.05.00
v1.26.1-moko.05.01.02-rc.219
v1.26.1-moko.05.04.00
v1.26.1-moko.05.01.02-rc.210
v1.26.1-moko.05.01.02-rc.206
v1.26.1-moko.05.01.02-rc.203
v1.26.1-moko.05.00.00-rc.201
v1.26.1-moko.05.00.00-rc.199
v1.26.1-moko.05.00.00-rc.197
v1.26.1-moko.05.00.00-rc.195
v1.26.1-moko.05.01.02-rc.193
v1.26.1-moko.05.00.00-rc.193
v1.26.1-moko.05.00.00-rc.192
v1.26.1-moko.05.00.00-rc.191
v1.26.1-moko.05.00.00-rc.190
v1.26.1-moko.05.00.00-rc.189
v1.26.1-moko.05.00.00-rc.187
v1.26.1-moko.05.00.00-rc.186
v1.26.1-moko.05.02.00
v1.26.1-moko.05.00.00-rc.185
v1.26.1-moko.05.01.02
v1.26.1-moko.05.00.00-rc.180
v1.26.1-moko.05.01.01
v1.26.1-moko.05.00.00-rc.178
v1.26.1-moko.05.01.00
v1.26.1-moko.05.00.00-rc.176
v1.26.1-moko.05.00.00
v1.26.1-moko.04.01.00-rc.170
v1.26.1-moko.04.01.00
v1.26.1-moko.04.00.00
v1.25.5-moko.1
v1.26.1
v1.26.0
v1.26.0-rc0
v1.27.0-dev
v1.25.5
v1.25.4
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.7
v1.25.0-rc0
v1.26.0-dev
v1.24.6
v1.24.5
v1.24.4
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.8
v1.24.0-rc0
v1.25.0-dev
v1.23.7
v1.23.6
v1.23.5
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.23.0-rc0
v1.24.0-dev
v1.22.6
v1.22.5
v1.22.4
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.23.0-dev
v1.22.0-rc1
v1.21.11
v1.22.0-rc0
v1.21.10
v1.21.9
v1.21.8
v1.21.7
v1.21.6
v1.21.5
v1.21.4
v1.21.3
v1.21.2
v1.20.6
v1.21.1
v1.21.0
v1.21.0-rc2
v1.21.0-rc1
v1.20.5
v1.22.0-dev
v1.21.0-rc0
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.4
v1.21.0-dev
v1.20.0-rc2
v1.20.0-rc1
v1.20.0-rc0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.19.0-rc1
v1.20.0-dev
v1.19.0-rc0
v1.18.5
v1.18.4
v1.18.3
v1.18.2
v1.18.1
v1.18.0
v1.17.4
v1.18.0-rc1
v1.19.0-dev
v1.18.0-rc0
v1.17.3
v1.17.2
v1.17.1
v1.17.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v1.5.0-rc2
v1.5.0-rc1
v1.5.0-dev
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.4.0-rc3
v1.4.0-rc2
v1.3.3
v1.4.0-rc1
v1.3.2
v1.3.1
v1.3.0
v1.3.0-rc2
v1.3.0-rc1
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.2.0-rc3
v1.2.0-rc2
v1.1.4
v1.2.0-rc1
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v0.9.99
Labels
Clear labels
breaking-change
ci-cd
config
dependencies
deploy-failure
docker
documentation
good first issue
health-check
help wanted
mokostandards
pending: testing
priority: critical
priority: high
priority: low
priority: medium
push-failure
security
size/l
size/m
size/s
size/xl
size/xs
standards-drift
standards-update
status: blocked
status: in-progress
status: needs-review
status: on-hold
status: wontfix
sync-failure
type: bug
type: bug
type: chore
type: enhancement
type: feature
type: refactor
type: version
upstream
work-in-progress
bug
chore
documentation
enhancement
feature
pending: dependency
pending: deployment
pending: design
pending: documentation
pending: feedback
pending: review
pending: testing
priority: critical
priority: high
priority: low
priority: medium
refactor
roadmap
scope: client
scope: dolibarr
scope: infrastructure
scope: joomla
scope: waas
security
status: blocked
status: duplicate
status: in-progress
status: needs-review
status: wontfix
Breaking API or behavior change
CI/CD pipeline changes
Configuration changes
Dependency updates
Deployment failed
Docker/container changes
Documentation changes
Good for newcomers
Repo health check result
Extra attention needed
Related to MokoStandards framework
Feature implemented but not yet tested with documented proof
Must fix immediately
Important, fix soon
Nice to have
Normal priority
Git push operation failed
Security vulnerability or hardening
200-500 lines changed
50-200 lines changed
10-50 lines changed
500+ lines changed
< 10 lines changed
Deviates from MokoStandards
MokoStandards compliance update
Blocked by dependency or decision
Actively being worked on
Awaiting code review
Paused intentionally
Will not be addressed
Sync or mirror failed
Something isn't working
Maintenance, dependencies, cleanup
Improvement to existing feature
New functionality
Code restructuring without behavior change
Version bump or release
Draft or incomplete work
Something is not working
Maintenance and housekeeping
Documentation improvements
Improvement to existing functionality
New feature or request
Blocked by another issue or external dependency
Tested and approved, awaiting deployment to production
Needs UI/UX or architecture design before implementation
Feature works, needs documentation/wiki update
Awaiting feedback or decision from stakeholder
Implementation complete, awaiting code review
Feature implemented but not yet tested
Must fix immediately
Should fix soon
Nice to have
Fix when convenient
Code restructuring without behavior change
Planned feature or enhancement tracked on the roadmap
Client-specific work
Dolibarr modules and customizations
Server, CI, backups, monitoring
Joomla templates and extensions
MokoWaaS platform
Security vulnerability or hardening
Waiting on external dependency
Duplicate of another issue
Being worked on
Ready for review
Will not be addressed
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MokoConsulting/MokoGitea#225
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Upstream Gitea v1.26.2 contains 12 security fixes and several high-impact bug fixes that need to be cherry-picked into MokoGitea. We are diverged from upstream so a full merge is not viable -- individual cherry-picks are required.
Security Fixes (Priority: Critical)
These address token theft, privilege escalation, and access control bypass:
5038561235fix(oauth): strengthen PKCE validation and refresh token replay protection (#37706)86cc3e8783fix(oauth): bind token exchanges to the original client request (#37704)519b8d6d88fix(security): enforce wiki git writes and LFS token access at request time (#37695)9c0ad8291bfix: Add missed token scope checking (#37735)2965b0c08afix(web): enforce token scopes on raw, media, and attachment downloads (#37698)a34eac5ef4fix: Unify public-only token filtering in API queries and repo access checks (#37118)6d2b02dac1fix(permissions): Fix reading permission (#37769)4ee74d7699FIX: URL sanitization to handle schemeless credentials (#37440)78899832ebFix attachment Content-Security-Policy (#37455)b88bad2a01Fix basic auth bug (#37503)5636219dbcchore(deps): bump go-git/go-git/v5 to 5.19.0 (security)57dd9f5babfix(deps): update dependency mermaid to v11.15.0 [security]Bug Fixes (Priority: High)
1c2d5e9b03fix(actions): make artifact signature payloads unambiguous (#37707)1d7b84922ffix(actions): wrong assumption that run id always >= job id (#37737)b586d80f97fix(actions): prevent panic when workflow contains null jobs (#37570)356a119f30fix(actions): validate workflow param to prevent 500 error (#37546)677ab982bffix(git): Fix smart http request scope bug (#37583)dd78d87dcdfix: merge autodetect cannot close other PRs (#37512)74e515623bFix allow maintainer edit permission check (#37479)e2b211f291Fix update branch protection order (#37508)ab0d52b4c7fix(auth): set User-Agent on avatar fetch and sync avatar on link-account register (#37564)Bug Fixes (Priority: Medium)
5eaa0bc603fix(packages): Add label for private and internal package and fix composer package source permission check (#37610)edfba678ecfix!: add DEFAULT_TITLE_SOURCE setting for pull request title default behavior (#37465)5632abff9eFix review submission from single-commit PR view (#37475)a859221a62fix(pull): handle empty pull request files view to allow reviews (#37783)631a9b5d16fix: make clone URL respect public URL detection setting (#37615)fb159eae8ffix: run as root check (#37622)Already Cherry-Picked
7b82ded82afix(actions): deadlock between PrepareRunAndInsert and UpdateTaskByState (#37692)c4a1ff7d16Fix scheduled action panic with null event payload (#37459)b79529015eDo not unblock run-level-concurrency-blocked runs in the resolver (#37461)3004c45607fix: Invalid UTF-8 commit messages in JSON API responses (#37542)Approach
Opened by Claude Code on behalf of @jmiller