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
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
tech-debt
type: bug
type: bug
type: chore
type: enhancement
type: feature
type: refactor
type: version
upstream
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
Technical debt and TODO/FIXME items
Something isn't working
Maintenance, dependencies, cleanup
Improvement to existing feature
New functionality
Code restructuring without behavior change
Version bump or release
Inherited from upstream Gitea
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
Status
—
Milestone
No items
No Milestone
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