GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — MqttConnectPayload.toString() includes password · Issue #15547 · netty/netty

MqttConnectPayload.toString() includes password #15547

New issue
Copy link
New issue
Copy link
Closed
#15548
Closed
MqttConnectPayload.toString() includes password#15547
#15548
Copy link

Description

@jbertram
jbertram
opened on Aug 11, 2025
Issue body actions

io.netty.handler.codec.mqtt.MqttConnectPayload includes the password field (i.e. the password passed in from a remote user) in the toString() implementation. Applications using MqttConnectPayload may print these objects to their log (e.g. in case of a connection issue) and unwittingly include the user's password.

It would be much safer for MqttConnectPayload to simply log a placeholder value (e.g. ****) instead of the actual password. If the application really wants to fetch the password it can do so with the relevant getters.

Activity

  1. jbertram
    changed the title [-]MqttConnectPayload includes password in plain-text in toString()[/-] [+]MqttConnectPayload.toString() includes password in plain-text[/+] on Aug 11, 2025
  2. normanmaurer commented on Aug 11, 2025

    @normanmaurer
    normanmaurer
    on Aug 11, 2025
    Member
    More actions

    @jbertram sounds good... we love PRs

  3. jbertram commented on Aug 11, 2025

    @jbertram
    jbertram
    on Aug 11, 2025
    ContributorAuthor
    More actions

    @normanmaurer, PR incoming!

  4. jbertram
    changed the title [-]MqttConnectPayload.toString() includes password in plain-text[/-] [+]MqttConnectPayload.toString() includes password[/+] on Aug 11, 2025
  5. jbertram
    added a commit that references this issue on Aug 11, 2025

    MqttConnectPayload.toString() includes password (netty#15547)

    57e2137
  6. normanmaurer
    closed this as completedin #15548on Aug 12, 2025
  7. normanmaurer
    added 3 commits that reference this issue on Aug 12, 2025

    MqttConnectPayload.toString() includes password (#15547) (#15548)

    3d9861a

    MqttConnectPayload.toString() includes password (#15547) (#15548)

    2100b59

    MqttConnectPayload.toString() includes password (#15547) (#15548) (#1…

    d9b34ad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.