Datasource passwords are displayed in plaintext in the changelog difference #8595

Closed
opened 2025-12-29 20:38:37 +01:00 by adam · 4 comments
Owner

Originally created by @mtbutler07 on GitHub (Sep 8, 2023).

NetBox version

v3.6.1

Python version

3.10

Steps to Reproduce

  1. Create a new git data source
  2. Populate the username/password fields
  3. A changelog record is created displaying the password in plain text

Screenshot from 2023-09-08 13-30-35

Expected Behavior

The password and other secret fields should be omitted or masked in the changelog difference

Observed Behavior

The password was shown in plain text

Originally created by @mtbutler07 on GitHub (Sep 8, 2023). ### NetBox version v3.6.1 ### Python version 3.10 ### Steps to Reproduce 1. Create a new git data source 2. Populate the username/password fields 3. A changelog record is created displaying the password in plain text ![Screenshot from 2023-09-08 13-30-35](https://github.com/netbox-community/netbox/assets/33135168/55237b5c-88cf-4126-b795-975ee11f4fee) ### Expected Behavior The password and other secret fields should be omitted or masked in the changelog difference ### Observed Behavior The password was shown in plain text
adam added the type: bug label 2025-12-29 20:38:37 +01:00
adam closed this issue 2025-12-29 20:38:37 +01:00
Author
Owner

@DanSheps commented on GitHub (Sep 8, 2023):

Thank you for opening a bug report. It seems that the described functionality is intended behavior. If you meant to open a feature request instead, please close this issue and open a new one using the feature request template. Otherwise, please revise your post above to elaborate on why you believe the observed behavior is flawed.

@DanSheps commented on GitHub (Sep 8, 2023): Thank you for opening a bug report. It seems that the described functionality is intended behavior. If you meant to open a feature request instead, please close this issue and open a new one using the [feature request template](https://github.com/netbox-community/netbox/issues/new?template=feature_request.md). Otherwise, please revise your post above to elaborate on why you believe the observed behavior is flawed.
Author
Owner

@mtbutler07 commented on GitHub (Sep 8, 2023):

Hi @DanSheps! Displaying the passwords in plain text is intended?
That doesn't seem to be consistent with the rest of the NetBox UI so it seemed like a bug to me.
Examples:

  • Passwords are masked during user login
  • User passwords are not visible from within the admin panel
  • Salt and hashes are both masked in the admin panel

Otherwise, please revise your post above to elaborate on why you believe the observed behavior is flawed.

The observed behavior is flawed because credentials are being compromised to other users that can view the changelog when they could be omitted or masked like they are throughout the rest of the NetBox UI.

I'm more than happy to convert this to a feature request if that's the proper way forward. Just let me know.

@mtbutler07 commented on GitHub (Sep 8, 2023): Hi @DanSheps! Displaying the passwords in plain text is intended? That doesn't seem to be consistent with the rest of the NetBox UI so it seemed like a bug to me. Examples: - Passwords are masked during user login - User passwords are not visible from within the admin panel - Salt and hashes are both masked in the admin panel >Otherwise, please revise your post above to elaborate on why you believe the observed behavior is flawed. The observed behavior is flawed because credentials are being compromised to other users that can view the changelog when they could be omitted or masked like they are throughout the rest of the NetBox UI. I'm more than happy to convert this to a feature request if that's the proper way forward. Just let me know.
Author
Owner

@DanSheps commented on GitHub (Sep 8, 2023):

This is intended, as it is the change log. No change log data is encrypted .

Please do open a FR

@DanSheps commented on GitHub (Sep 8, 2023): This is intended, as it is the change log. No change log data is encrypted . Please do open a FR
Author
Owner

@mtbutler07 commented on GitHub (Sep 8, 2023):

Created FR https://github.com/netbox-community/netbox/issues/13729

@mtbutler07 commented on GitHub (Sep 8, 2023): Created FR https://github.com/netbox-community/netbox/issues/13729
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8595