[PR #3528] [MERGED] Security issue fixed #5432

Closed
opened 2026-10-31 20:46:55 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3528
Author: @MHSanaei
Created: 9/21/2025
Status: ✅ Merged
Merged: 9/21/2025
Merged by: @MHSanaei

Base: main ← Head: security


📝 Commits (4)

  • eacfbc8 security fix: Command built from user-controlled sources CWE-78
  • 9f024b9 security fix: Workflow with permissions CWE-275
  • e64e632 security fix: Uncontrolled data used in path expression
  • ae79b43 security fix: Use of insufficient randomness as the key of a cryptographic algorithm

📊 Changes

5 files changed (+65 additions, -15 deletions)

View changed files

📝 .github/workflows/docker.yml (+3 -0)
📝 config/config.go (+5 -5)
📝 main.go (+1 -1)
📝 util/random/random.go (+13 -3)
📝 web/service/server.go (+43 -6)

📄 Description

What is the pull request?

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Screenshots


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3528 **Author:** [@MHSanaei](https://github.com/MHSanaei) **Created:** 9/21/2025 **Status:** ✅ Merged **Merged:** 9/21/2025 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `security` --- ### 📝 Commits (4) - [`eacfbc8`](https://github.com/MHSanaei/3x-ui/commit/eacfbc86b5f7ba08c4be1bdf14a3d552aeb1874b) security fix: Command built from user-controlled sources CWE-78 - [`9f024b9`](https://github.com/MHSanaei/3x-ui/commit/9f024b9e6a5c5a8d7adbac36fa2f8e38a29455f0) security fix: Workflow with permissions CWE-275 - [`e64e632`](https://github.com/MHSanaei/3x-ui/commit/e64e6327ef4cfda8f612c98882fe649c02918ac7) security fix: Uncontrolled data used in path expression - [`ae79b43`](https://github.com/MHSanaei/3x-ui/commit/ae79b43cdb1fdcec772e9c411bb81243cae1de0a) security fix: Use of insufficient randomness as the key of a cryptographic algorithm ### 📊 Changes **5 files changed** (+65 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/docker.yml` (+3 -0) 📝 `config/config.go` (+5 -5) 📝 `main.go` (+1 -1) 📝 `util/random/random.go` (+13 -3) 📝 `web/service/server.go` (+43 -6) </details> ### 📄 Description ## What is the pull request? <!-- Briefly describe the changes introduced by this pull request --> ## Which part of the application is affected by the change? - [ ] Frontend - [x] Backend ## Type of Changes - [x] Bug fix - [ ] New feature - [ ] Refactoring - [ ] Other ## Screenshots <!-- Add screenshots to illustrate the changes --> <!-- Remove this section if it is not applicable. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:46:55 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5432
No description provided.