Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachments uploaded to channel that got deleted are not removed from Discord CDN. #2224

Closed
indexerrowaty opened this issue Nov 8, 2020 · 10 comments
Labels

Comments

@indexerrowaty
Copy link

Description
Attachments that have been uploaded to channel that got deleted are not being removed from Discord CDN.

Steps to Reproduce
• Create a text channel or choose an existing one
• Post a message with attachment
• Copy link to that attachment
• Delete that channel
• Visit that link you copied. Attachment is still on Discord CDN.

Expected Behavior
Attachment should be deleted from Discord CDN.

Current Behavior
Attachment isn't deleted from Discord CDN.

Client and System Information
Release Channel: stable, Build Number: 71073
macOS Big Sur 11.0 Dev Beta
Macbook Air Early-2014 13,3"

@TheEgghead27
Copy link

In some cases, your device may pull from cache instead of loading from the CDN, as the file is already gone there.

@indexerrowaty
Copy link
Author

In some cases, your device may pull from cache instead of loading from the CDN, as the file is already gone there.

Outside Discord app? No. It's not possible.

@indexerrowaty
Copy link
Author

*Unless you visited that link before channel deletion.

@qaisjp
Copy link
Contributor

qaisjp commented Nov 17, 2020

it's region cached server-side for a while. e.g. if you upload a file, view the file from london, and then delete the files. london users will be able to view the file for a short while. if someone in america then tries to view the file using the same link, they'll find that the file 404's

@MeguminSama
Copy link
Contributor

Attachment isn't deleted from Discord CDN.

Could you tell me whether this is cdn.discordapp.com or media.discordapp.net ?

@Jiralite
Copy link
Contributor

Jiralite commented Nov 25, 2020

I can verify that this is a legitimate issue. I have files retaining from several years ago in hundreds of deleted Discord channels. Yes, the server cache & browser cache & especially the region where you access the server matters, but this information should not be held for several years after deletion.

@indexerrowaty
Copy link
Author

Attachment isn't deleted from Discord CDN.

Could you tell me whether this is cdn.discordapp.com or media.discordapp.net ?

cdn.discordapp.com

@night
Copy link
Contributor

night commented Apr 9, 2021

This is actually a Discord infrastructure limitation. It is something we've been tracking internally and will likely eventually be fixed, but as it is not related to the API or Bots I've closed this issue.

@night night closed this as completed Apr 9, 2021
@vovavovavovavova
Copy link

vovavovavovavova commented Apr 3, 2023

Hello, this issue has been opened 2.5 years ago and still exist.

Ok it may be not related to the api.
But it exists.
File, uploaded and shared by mistake, which can contain sensitive data, is undeletable from cdn.discordapp.com after being deleted from channel or after deleting a channel, or it takes too long to get deleted. It's a critical operational security issue.

Are you value our privacy? Because it does not look so.

@Cohenl19
Copy link

I also noticed this is an issue with GC's too, I often like to add people to a GC but when someone I add spams stuff we don't like or isn't acceptable, I have to delete the GC so we aren't associated with it. When I leave a GC and I am the last member to leave. Why aren't the attachments deleted? It also makes me concerned that the messages aren't deleted too, when obviously it makes sense to think that they should be when noone is left in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants