# Private category comments exposed via email

**URL:** <https://meta.discourse.org/t/private-category-comments-exposed-via-email/103764>\
**Category:** Bug\
**Created:** [8 december 2018 om 14:01 UTC](https://meta.discourse.org/t/private-category-comments-exposed-via-email/103764 "2018-12-08T14:01:52Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)\
**Post date:** [9 januari 2019 om 10:14 UTC](https://meta.discourse.org/t/private-category-comments-exposed-via-email/103764/11 "2019-01-09T10:14:45Z")

</div>

While testing the private ticketing system setting, we have found what looks like a bug (unless we have missed a configuration):

1. Set a private Discourse instance with a private group that can receive emails from non-registered users (staged).
2. Send an email as a non-registered user to the group. This will create a message in the group’s inbox.
3. Create a topic in Discourse (where the staged user cannot access), write something very sensitive (e.g. “And here we go again with this guy and his stupid questions”) 🙂 and add a link to the message in the private group.

Expected: The staged user doesn’t receive anything, because this is a topic to which they have no access to.

Actually: The staged user receives an email (I guess because of the URL pointing to the message) with the full content of that comment and even the username of the person ho posted it.

In a real scenario this can go really wrong.

---

_[View the full topic](https://meta.discourse.org/t/private-category-comments-exposed-via-email/103764)._
