[GH-ISSUE #3644] Bug report - pain text passwords in logging #2446

Closed
opened 2026-10-31 20:25:34 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @anfedoro on GitHub (Jan 7, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3644

Describe the bug

Folks.. are you really logging (and probably storing too) admin password in plain text ?
seriously ?

WARNING - wrong username: "dan****", password: "D******", IP: "10*.*.*"
INFO - dan*** logged in successfully, Ip Address: 10*.*.*
INFO - dan*** logged in successfully

How to repeat the problem?

just check you log

Expected action

to be fixed asap

Received action

No response

3x-ui Version

2.8.7

Xray-core Version

25.12.8

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @anfedoro on GitHub (Jan 7, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3644 ### Describe the bug Folks.. are you really logging (and probably storing too) admin password in plain text ? seriously ? ``` WARNING - wrong username: "dan****", password: "D******", IP: "10*.*.*" INFO - dan*** logged in successfully, Ip Address: 10*.*.* INFO - dan*** logged in successfully ``` ### How to repeat the problem? just check you log ### Expected action to be fixed asap ### Received action _No response_ ### 3x-ui Version 2.8.7 ### Xray-core Version 25.12.8 ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:25:34 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@sviatoslav-gusev commented on GitHub (Jan 21, 2026):

and probably storing too

@anfedoro, good news: passwords are storing in hashed form.
Proofs:
https://github.com/MHSanaei/3x-ui/blob/main/util/crypto/crypto.go
https://github.com/MHSanaei/3x-ui/blob/main/web/service/user.go#L109

<!-- gh-comment-id:3781251147 --> @sviatoslav-gusev commented on GitHub (Jan 21, 2026): > and probably storing too @anfedoro, good news: passwords are storing in hashed form. Proofs: https://github.com/MHSanaei/3x-ui/blob/main/util/crypto/crypto.go https://github.com/MHSanaei/3x-ui/blob/main/web/service/user.go#L109
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#2446
No description provided.